-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Digital Credentials: implement userAgentAllowsProtocol() #47283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digital Credentials: implement userAgentAllowsProtocol() #47283
Conversation
EWS run on previous version of this PR (hash 4fe3b55) |
4fe3b55
to
ed3f83f
Compare
EWS run on current version of this PR (hash ed3f83f) |
@@ -31,4 +31,5 @@ | |||
] interface DigitalCredential : BasicCredential { | |||
[SameObject] readonly attribute object data; | |||
readonly attribute IdentityCredentialProtocol protocol; | |||
static boolean userAgentAllowsProtocol(DOMString protocol); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I usually put static members first.
rdar://153776127 https://bugs.webkit.org/show_bug.cgi?id=294352 Reviewed by Anne van Kesteren. This implements the userAgentAllowsProtocol() method, which allows user agents to indicate whether they support a given protocol for digital credentials. This is useful for sites to determine if they can request a digital credential with a specific protocol. Spec: https://w3c-fedid.github.io/digital-credentials/#dom-digitalcredential-useragentallowsprotocol WebKit only supports the "org-iso-mdoc" protocol, so this method returns true only for that protocol. Imports relevent Web Platform Tests. Upstream commit: web-platform-tests/wpt@c7fd2ce Canonical link: https://commits.webkit.org/296786@main
ed3f83f
to
13d1709
Compare
Committed 296786@main (13d1709): https://commits.webkit.org/296786@main Reviewed commits have been landed. Closing PR #47283 and removing active labels. |
13d1709
ed3f83f