Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f29b730d742b656438fe81acc51f357fed56cbc5
https://github.com/WebKit/WebKit/commit/f29b730d742b656438fe81acc51f357fed56cbc5
Author: Marcos Caceres <[email protected]>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M Source/WebCore/Modules/credentialmanagement/BasicCredential.cpp
Log Message:
-----------
Credential.type returns "digital-credential" instead of "digital" for digital
credentials
https://bugs.webkit.org/show_bug.cgi?id=317840
rdar://180618646
Reviewed by Anne van Kesteren.
DigitalCredential inherits Credential.type, which the Digital Credentials
specification defines (section 8.4) as "digital". WebKit returned
"digital-credential", so a page calling navigator.credentials.get({digital})
and reading the resolved credential's type observed the wrong value. Return
"digital" to match the spec.
The web-platform-test digital-credentials/mdoc/valid-roundtrip.https.html
asserts credential.type === "digital". It is currently skipped pending the
WebDriver virtual-wallet test infrastructure (bug 306292) and will exercise
this fix once that infrastructure lands and the test is enabled.
* Source/WebCore/Modules/credentialmanagement/BasicCredential.cpp:
(WebCore::BasicCredential::type const):
Canonical link: https://commits.webkit.org/315891@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications