Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0e486e3ea438319749c102ae95e44fcc763f3795
https://github.com/WebKit/WebKit/commit/0e486e3ea438319749c102ae95e44fcc763f3795
Author: Sihui Liu <[email protected]>
Date: 2026-05-19 (Tue, 19 May 2026)
Changed paths:
M LayoutTests/http/tests/cache/partitioned-cache-iframe.html
M LayoutTests/http/tests/cache/partitioned-cache.html
M LayoutTests/http/tests/cache/resources/partitioned-cache-loader.html
M
LayoutTests/http/tests/navigation/page-cache-pending-image-load-cache-partition.html
M LayoutTests/http/tests/security/credentials-iframes.html
M LayoutTests/http/tests/security/credentials-main-resource.html
M LayoutTests/http/tests/security/cross-origin-indexeddb.html
M LayoutTests/http/tests/security/cross-origin-local-storage-allowed.html
M
LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked.html
M LayoutTests/http/tests/security/cross-origin-websql.html
M LayoutTests/http/tests/security/cross-origin-worker-indexeddb.html
M
LayoutTests/http/tests/security/resources/document-for-cross-origin-worker-indexeddb.html
M LayoutTests/http/tests/security/resources/load-local-storage.html
M
LayoutTests/http/tests/security/same-origin-document-domain-storage-allowed.html
M LayoutTests/http/tests/security/same-origin-storage-blocked.html
M LayoutTests/http/tests/security/same-origin-websql-blocked.html
M LayoutTests/http/tests/security/sync-xhr-partition.html
Log Message:
-----------
Replace internals.settings.setStorageBlockingPolicy with WebKitTestRunner
header in layout tests
https://bugs.webkit.org/show_bug.cgi?id=315103
rdar://177440049
Reviewed by Per Arne Vollan.
internals.settings.setStorageBlockingPolicy only updates the storage blocking
policy in the current web process. Under
Site Isolation, this means cross-site subframe processes and the network
process do not receive the policy update,
leading to inconsistent behavior.
Replace runtime JavaScript calls with declarative <!-- webkit-test-runner [
StorageBlockingPolicy=N ] --> headers, which
set the policy via WebPreferences before the test begins and propagate it to
all processes including the network process.
The four dynamic policy change tests (storage-blocking-loosened/strengthened-*)
still use the internals API and will be
addressed separately.
* LayoutTests/http/tests/cache/partitioned-cache-iframe.html:
* LayoutTests/http/tests/cache/partitioned-cache.html:
* LayoutTests/http/tests/cache/resources/partitioned-cache-loader.html:
*
LayoutTests/http/tests/navigation/page-cache-pending-image-load-cache-partition.html:
* LayoutTests/http/tests/security/credentials-iframes.html:
* LayoutTests/http/tests/security/credentials-main-resource.html:
* LayoutTests/http/tests/security/cross-origin-indexeddb.html:
* LayoutTests/http/tests/security/cross-origin-local-storage-allowed.html:
*
LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked.html:
* LayoutTests/http/tests/security/cross-origin-websql.html:
* LayoutTests/http/tests/security/cross-origin-worker-indexeddb.html:
*
LayoutTests/http/tests/security/resources/document-for-cross-origin-worker-indexeddb.html:
* LayoutTests/http/tests/security/resources/load-local-storage.html:
*
LayoutTests/http/tests/security/same-origin-document-domain-storage-allowed.html:
* LayoutTests/http/tests/security/same-origin-storage-blocked.html:
* LayoutTests/http/tests/security/same-origin-websql-blocked.html:
* LayoutTests/http/tests/security/sync-xhr-partition.html:
Canonical link: https://commits.webkit.org/313540@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications