Index: Source/modules/credentialmanager/PasswordCredential.idl |
diff --git a/Source/modules/credentialmanager/PasswordCredential.idl b/Source/modules/credentialmanager/PasswordCredential.idl |
index 795afff2b15e61227518d667b63b7c8f9e539609..8c4d81bb83eaf362d4f74d77ef6cdd58233f5293 100644 |
--- a/Source/modules/credentialmanager/PasswordCredential.idl |
+++ b/Source/modules/credentialmanager/PasswordCredential.idl |
@@ -5,7 +5,8 @@ |
[ |
RuntimeEnabled=CredentialManager, |
RaisesException=Constructor, |
- Constructor(DOMString id, DOMString password, optional DOMString name, optional DOMString iconURL) |
+ Constructor(PasswordCredentialData data), |
+ Exposed=Window |
] interface PasswordCredential : Credential { |
[CallWith=ScriptState] FormData toFormData(optional FormDataOptions options); |
}; |