Index: third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html b/third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
index 5ccc0c987a2c29a4c0e3e3f7967b44d202277e2b..f2c747a4436a3713b053d0ccea4d838bb232be38 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
@@ -26,6 +26,8 @@ |
required USVString password; |
}; |
+ typedef (PasswordCredentialData or HTMLFormElement) PasswordCredentialInit; |
+ |
typedef (FormData or URLSearchParams) CredentialBodyType; |
@@ -36,6 +38,11 @@ |
DOMString protocol; |
}; |
+ dictionary CredentialCreationOptions { |
+ PasswordCredentialInit? password; |
+ FederatedCredentialInit? federated; |
+ }; |
+ |
dictionary CredentialRequestOptions { |
boolean password = false; |
FederatedCredentialRequestOptions federated; |
@@ -53,6 +60,7 @@ |
interface CredentialsContainer { |
Promise<Credential> get(optional CredentialRequestOptions options); |
Promise<Credential> store(Credential credential); |
+ Promise<Credential?> create(optional CredentialCreationOptions options); |
Promise<void> requireUserMediation(); |
}; |