Index: Source/modules/credentialmanager/FederatedCredential.idl |
diff --git a/Source/modules/credentialmanager/FederatedCredential.idl b/Source/modules/credentialmanager/FederatedCredential.idl |
index c22d25086fb1bb3a4716dd35d3618189542b6bd8..848ed8dff565150a9c7c65eb5318cc0373ecd939 100644 |
--- a/Source/modules/credentialmanager/FederatedCredential.idl |
+++ b/Source/modules/credentialmanager/FederatedCredential.idl |
@@ -2,10 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// https://w3c.github.io/webappsec/specs/credentialmanagement/#federatedcredential |
+ |
[ |
RuntimeEnabled=CredentialManager, |
RaisesException=Constructor, |
- Constructor(DOMString id, DOMString federation, optional DOMString name, optional DOMString avatarURL) |
+ Constructor(FederatedCredentialData data) |
] interface FederatedCredential : Credential { |
- readonly attribute DOMString federation; |
+ readonly attribute USVString provider; |
+ |
+ // TODO(mkwst): We don't really support this yet; it always returns ''. |
+ readonly attribute DOMString? protocol; |
}; |