Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4867cdb405b802990af7c2e86f647b4984fc3ebb
https://github.com/WebKit/WebKit/commit/4867cdb405b802990af7c2e86f647b4984fc3ebb
Author: Marcos Caceres <[email protected]>
Date: 2026-07-20 (Mon, 20 Jul 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.https-expected.txt
M
LayoutTests/platform/ios/imported/w3c/web-platform-tests/digital-credentials/get.https-expected.txt
M Source/WebCore/Modules/identity/DigitalCredential.cpp
Log Message:
-----------
Digital Credentials get() should skip unsupported-protocol requests before
serializing their data
https://bugs.webkit.org/show_bug.cgi?id=319582
rdar://problem/182412976
Reviewed by Abrar Rahman Protyasha.
A request carrying non-serializable data (for example a BigInt) on an
unsupported protocol threw a TypeError instead of being skipped, because the
JSON-serializability check ran before the protocol-support check. Per the
Digital Credentials specification's validate credential requests steps, a
request with an unsupported protocol is skipped before its data is serialized;
a request with a supported protocol whose data is not serializable still
throws. Move the protocol check ahead of the serializability check to match.
Canonical link: https://commits.webkit.org/317592@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications