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 |
| 6 |
5 [ | 7 [ |
6 RuntimeEnabled=CredentialManager, | 8 RuntimeEnabled=CredentialManager, |
7 GarbageCollected | 9 GarbageCollected |
8 ] interface Credential { | 10 ] interface Credential { |
9 readonly attribute DOMString id; | 11 readonly attribute DOMString id; |
| 12 readonly attribute DOMString type; |
| 13 |
| 14 // TODO(mkwst): These should be on LocallyStoredCredential. |
10 readonly attribute DOMString name; | 15 readonly attribute DOMString name; |
11 readonly attribute DOMString avatarURL; | 16 readonly attribute DOMString iconURL; |
12 }; | 17 }; |
OLD | NEW |