Index: modules/credentialmanager/PasswordCredential.idl |
diff --git a/modules/credentialmanager/PasswordCredential.idl b/modules/credentialmanager/PasswordCredential.idl |
index 929aed31be33457d8f7239b7f5dfb942d5ec26ed..2e91a60e594b120f06093af06dce22bf99450c68 100644 |
--- a/modules/credentialmanager/PasswordCredential.idl |
+++ b/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(DOMString id, DOMString password, optional DOMString name, optional DOMString iconURL) |
+ Constructor(PasswordCredentialData data), |
+ Exposed=Window, |
] interface PasswordCredential : Credential { |
- readonly attribute DOMString password; |
- readonly attribute FormData formData; |
+ attribute USVString idName; |
+ attribute USVString passwordName; |
+ attribute CredentialBodyType? additionalData; |
}; |