Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5da0c4f201f52aad8e9afd76a3acdf6ed66e5039
      
https://github.com/WebKit/WebKit/commit/5da0c4f201f52aad8e9afd76a3acdf6ed66e5039
  Author: Marcos Caceres <[email protected]>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-combinations.https-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-combinations.https.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level-allow-same-origin.https-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level-allow-same-origin.https.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level-allow-same-origin.https.html.headers
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level.https-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level.https.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level.https.html.headers
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-nest-csp-sandbox.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-nest-csp-sandbox.html.headers
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-nest.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get-blob-in-sandbox.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get-csp-sandbox.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get-csp-sandbox.html.headers
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get.html
    A 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get.js
    M Source/WebCore/Modules/identity/DigitalCredential.cpp

  Log Message:
  -----------
  Digital Credentials: reject get() from opaque origins
https://bugs.webkit.org/show_bug.cgi?id=318947

Reviewed by Anne van Kesteren.

Reject navigator.credentials.get({ digital }) with a SecurityError when the
calling document has an opaque origin, implementing the restriction from
https://github.com/w3c-fedid/digital-credentials/pull/535.

Web platform tests: https://github.com/web-platform-tests/wpt/pull/61188

* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-combinations.https-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-combinations.https.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level-allow-same-origin.https-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level-allow-same-origin.https.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level-allow-same-origin.https.html.headers:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level.https-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level.https.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-opaque-origin-top-level.https.html.headers:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-nest.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get-blob-in-sandbox.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get-csp-sandbox.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get-csp-sandbox.html.headers:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-report-get.js:
 Added.
(async const):
(catch):
* Source/WebCore/Modules/identity/DigitalCredential.cpp:
(WebCore::DigitalCredential::discoverFromExternalSource):
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-nest-csp-sandbox.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/dc-nest-csp-sandbox.html.headers:
 Added.

Canonical link: https://commits.webkit.org/317275@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to