Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 typedef (FormData or URLSearchParams) CredentialBodyType; | |
| 6 | |
| 5 [ | 7 [ |
| 6 RuntimeEnabled=CredentialManager, | 8 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.
| |
| 7 RaisesException=Constructor, | 9 RaisesException=Constructor, |
| 8 Constructor(PasswordCredentialData data), | 10 Constructor(PasswordCredentialData data), |
| 9 Exposed=Window | 11 Exposed=Window |
| 10 ] interface PasswordCredential : Credential { | 12 ] interface PasswordCredential : Credential { |
| 11 [CallWith=ScriptState] FormData toFormData(optional FormDataOptions options) ; | 13 attribute DOMString idName; |
| 14 attribute DOMString passwordName; | |
| 15 attribute CredentialBodyType additionalData; | |
| 12 }; | 16 }; |
| OLD | NEW |