Chromium Code Reviews| 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 993920d8a880be288493240522bf4dc9e37d7a7d..672b405cd8f382fa6dcd58a2ca3cc8f83ec22246 100644 |
| --- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl |
| +++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.idl |
| @@ -13,8 +13,9 @@ typedef (FormData or URLSearchParams) CredentialBodyType; |
| Exposed=Window, |
| SecureContext |
| ] interface PasswordCredential : Credential { |
| - attribute USVString idName; |
| - attribute USVString passwordName; |
| - attribute CredentialBodyType? additionalData; |
| + [DeprecateAs=CredentialManagerIdName] attribute USVString idName; |
| + [DeprecateAs=CredentialManagerPasswordName] attribute USVString passwordName; |
| + [DeprecateAs=CredentialManagerAdditionalData] attribute CredentialBodyType? additionalData; |
|
jdoerrie (Google - do not use)
2017/05/16 10:08:00
Ideally the deprecation messages would only appear
|
| + [RuntimeEnabled=PasswordCredentialPassword] readonly attribute DOMString password; |
| }; |
| PasswordCredential implements CredentialUserData; |