mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Stubs `Credential`, `CredentialContainer`, and `PasswordCredential` and adds the credentials attribute to navigator. Testing: WPT Fixes: Partially #38788 --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
16 lines
679 B
Text
16 lines
679 B
Text
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
/*
|
|
* The origin of this IDL file is
|
|
* https://www.w3.org/TR/credential-management-1/#the-credential-interface
|
|
*/
|
|
|
|
// https://www.w3.org/TR/credential-management-1/#credential
|
|
[Pref="dom_credential_management_enabled", Exposed=Window, SecureContext]
|
|
interface Credential {
|
|
readonly attribute USVString id;
|
|
readonly attribute DOMString type;
|
|
static Promise<boolean> isConditionalMediationAvailable();
|
|
static Promise<undefined> willRequestConditionalCreation();
|
|
};
|