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

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

Issue 1446963002: CREDENTIAL: Teach Fetch to handle PasswordCredential objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opaque
Patch Set: Better Created 5 years, 1 month 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 8c4d81bb83eaf362d4f74d77ef6cdd58233f5293..92ce47d97cff81b6cdb07533be728fed92101d40 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl
@@ -2,11 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+typedef (FormData or URLSearchParams) CredentialBodyType;
+
[
RuntimeEnabled=CredentialManager,
philipj_slow 2015/11/17 15:53:59 Can you add TypeChecking=Interface to this interfa
philipj_slow 2015/11/18 10:00:05 Ping.
RaisesException=Constructor,
Constructor(PasswordCredentialData data),
Exposed=Window
] interface PasswordCredential : Credential {
- [CallWith=ScriptState] FormData toFormData(optional FormDataOptions options);
+ attribute DOMString idName;
+ attribute DOMString passwordName;
+ attribute CredentialBodyType additionalData;
};

Powered by Google App Engine
This is Rietveld 408576698