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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl

Issue 1880393002: CREDENTIAL: Implement 'SiteBoundCredential'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 4 years, 8 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/Source/modules/credentialmanager/PasswordCredential.idl
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl
index d4d44fc57cff19093f3aecb5e9d318f0c9db7468..f552210004e143b9e7afb08146f7e44de4b0778c 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://w3c.github.io/webappsec-credential-management/#passwordcredential
+
typedef (FormData or URLSearchParams) CredentialBodyType;
[
@@ -10,7 +12,7 @@ typedef (FormData or URLSearchParams) CredentialBodyType;
Constructor(PasswordCredentialData data),
Constructor(HTMLFormElement form),
Exposed=Window,
-] interface PasswordCredential : Credential {
+] interface PasswordCredential : SiteBoundCredential {
attribute USVString idName;
attribute USVString passwordName;
attribute CredentialBodyType? additionalData;

Powered by Google App Engine
This is Rietveld 408576698