зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1591422 [wpt PR 19869] - Update interfaces/credential-management.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/credential-management.idl (#19869) Source: https://github.com/tidoust/reffy-reports/blob/b5c9dd3/ed/idl/credential-management.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/602464986 -- wpt-commits: eabbbf2c23c122071223b9cfd31e15a2f964b998 wpt-pr: 19869 Differential Revision: https://phabricator.services.mozilla.com/D53455
This commit is contained in:
Родитель
276d781093
Коммит
7cf13bad22
|
@ -21,9 +21,9 @@ partial interface Navigator {
|
|||
|
||||
[Exposed=Window, SecureContext]
|
||||
interface CredentialsContainer {
|
||||
Promise<Credential?> get(optional CredentialRequestOptions options);
|
||||
Promise<Credential?> get(optional CredentialRequestOptions options = {});
|
||||
Promise<Credential> store(Credential credential);
|
||||
Promise<Credential?> create(optional CredentialCreationOptions options);
|
||||
Promise<Credential?> create(optional CredentialCreationOptions options = {});
|
||||
Promise<void> preventSilentAccess();
|
||||
};
|
||||
|
||||
|
@ -46,11 +46,11 @@ dictionary CredentialCreationOptions {
|
|||
AbortSignal signal;
|
||||
};
|
||||
|
||||
[Constructor(HTMLFormElement form),
|
||||
Constructor(PasswordCredentialData data),
|
||||
Exposed=Window,
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
interface PasswordCredential : Credential {
|
||||
constructor(HTMLFormElement form);
|
||||
constructor(PasswordCredentialData data);
|
||||
readonly attribute USVString password;
|
||||
};
|
||||
PasswordCredential includes CredentialUserData;
|
||||
|
@ -72,10 +72,10 @@ partial dictionary CredentialCreationOptions {
|
|||
PasswordCredentialInit password;
|
||||
};
|
||||
|
||||
[Constructor(FederatedCredentialInit data),
|
||||
Exposed=Window,
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
interface FederatedCredential : Credential {
|
||||
constructor(FederatedCredentialInit data);
|
||||
readonly attribute USVString provider;
|
||||
readonly attribute DOMString? protocol;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче