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:
autofoolip 2019-11-04 10:45:44 +00:00 коммит произвёл moz-wptsync-bot
Родитель 276d781093
Коммит 7cf13bad22
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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;
};