Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 14d500d21d5caf90bf9f6da78c125807290cd72d
      
https://github.com/WebKit/WebKit/commit/14d500d21d5caf90bf9f6da78c125807290cd72d
  Author: Charlie Wolfe <charl...@apple.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M Source/WebCore/dom/DocumentStorageAccess.cpp

  Log Message:
  -----------
  `requestStorageAccess()` calls that are denied should reject with a 
`NotAllowedError`
https://bugs.webkit.org/show_bug.cgi?id=296867
rdar://157446015

Reviewed by Tim Nguyen.

This implements sections 3.2.7, 3.2.9, and 3.2.16.1.1.2 of requestStorageAccess 
from
https://privacycg.github.io/storage-access/#the-document-object

This progresses the tests below, but we won’t have CI coverage because we lack 
a local DNS resolver.
imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-iframe.sub.https.window.html
imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-nested-cross-site-iframe.sub.https.window.html
imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-sandboxed-iframe-no-storage-access.sub.https.window.html

* Source/WebCore/dom/DocumentStorageAccess.cpp:
(WebCore::DocumentStorageAccess::requestStorageAccessQuickCheck):
(WebCore::DocumentStorageAccess::requestStorageAccess):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to