Files
sousa-gecko/testing/web-platform/tests/direct-sockets/disabled-by-permissions-policy.https.sub.html.headers
T
W. James MacLean fd4f9701de Bug 1906366 [wpt PR 47009] - Add Origin-Agent-Cluster opt-out for direct-socket tests., a=testonly
Automatic update from web-platform-tests
Add Origin-Agent-Cluster opt-out for direct-socket tests.

These direct socket tests don't work as WPT tests with Origin Isolation
(kOriginKeyedProcessesByDefault) enabled, since the non-default
port of the test server shows up in the lock_url used to determine
if direct-sockets are allowed or not, and this breaks the tests.
In real-world operation, direct-sockets are used in Chrome apps and
Isolated Web Apps, and neither of these will have non-default ports.
Opting these three tests out via the Origin-Agent-Cluster header
allows them to run in this non-standard test setup.

Bug: 40259221
Change-Id: I7c9349a715005b20ddc48edd5e7813bf749a38c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5675462
Reviewed-by: Andrew Rayskiy <greengrape@google.com>
Commit-Queue: James Maclean <wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1323503}

--

wpt-commits: 41c475b6d5c5fe103e44c8313eaaa33410807439
wpt-pr: 47009
2024-07-11 07:59:56 +00:00

5 lines
146 B
Plaintext

Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
Permissions-Policy: direct-sockets=()
Origin-Agent-Cluster: ?0