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..2afbf41e730680f2554404921f22cf7a94754677 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, |
RaisesException=Constructor, |
Constructor(PasswordCredentialData data), |
Exposed=Window |
] interface PasswordCredential : Credential { |
- [CallWith=ScriptState] FormData toFormData(optional FormDataOptions options); |
+ attribute USVString idName; |
+ attribute USVString passwordName; |
+ attribute CredentialBodyType additionalData; |
}; |