| 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/#federatedcredenti
al | 5 // https://w3c.github.io/webappsec/specs/credentialmanagement/#federatedcredenti
al |
| 6 | 6 |
| 7 [ | 7 [ |
| 8 RuntimeEnabled=CredentialManager, | 8 RuntimeEnabled=CredentialManager, |
| 9 RaisesException=Constructor, | 9 RaisesException=Constructor, |
| 10 Constructor(FederatedCredentialData data) | 10 Constructor(FederatedCredentialData data), |
| 11 Exposed=Window |
| 11 ] interface FederatedCredential : Credential { | 12 ] interface FederatedCredential : Credential { |
| 12 readonly attribute USVString provider; | 13 readonly attribute USVString provider; |
| 13 | 14 |
| 14 // TODO(mkwst): We don't really support this yet; it always returns ''. | 15 // TODO(mkwst): We don't really support this yet; it always returns ''. |
| 15 readonly attribute DOMString? protocol; | 16 readonly attribute DOMString? protocol; |
| 16 }; | 17 }; |
| OLD | NEW |