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 // https://w3c.github.io/webappsec/specs/credentialmanagement/#credential | 5 // https://w3c.github.io/webappsec-credential-management/#credential |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=CredentialManager, | 8 RuntimeEnabled=CredentialManager, |
9 Exposed=Window | 9 Exposed=Window |
10 ] interface Credential { | 10 ] interface Credential { |
11 readonly attribute DOMString id; | 11 readonly attribute USVString id; |
12 readonly attribute DOMString type; | 12 readonly attribute DOMString type; |
13 | |
14 // TODO(mkwst): These should be on LocallyStoredCredential. | |
15 readonly attribute DOMString name; | |
16 readonly attribute DOMString iconURL; | |
17 }; | 13 }; |
OLD | NEW |