Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html

Issue 2884703002: Implement CredentialsContainer::create (Closed)
Patch Set: RaisesException Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
};

Powered by Google App Engine
This is Rietveld 408576698