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