[wpt-sync] Sync PR 58908 - [Connection-Allowlist] Tests for fetch keepalive
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox151 fixed)
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 58908 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58908
Details from upstream follow.
Shivani Sharma <shivanisha@chromium.org> wrote:
[Connection-Allowlist] Tests for fetch keepalive
This CL adds tests for Connection Allowlists for keep-alive requests,
and removes the TODO since there are no specific changes needed. All
changes in
https://source.chromium.org/chromium/chromium/src/+/main:services/network/cors/cors_url_loader_factory.cc;l=441?q=isnetworkfor
for normal fetch work in this case, as the same URLLoaderFactory gets
used.https://github.com/WICG/connection-allowlists
BUG: 495842537
Change-Id: I9dcfec60baa5e3d9859e8f0bde9e03de48cf01ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7697499
Reviewed-by: Kenichi Ishibashi \<bashi@chromium.org>
Commit-Queue: Shivani Sharma \<shivanisha@chromium.org>
Reviewed-by: Ming-Ying Chung \<mych@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1608468}
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 24 tests and 5 subtests
Status Summary
Firefox
OK : 2[GitHub] 24[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 2[GitHub] 59[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 13[GitHub] 105[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
Chrome
OK : 2
PASS: 2
FAIL: 13
Safari
OK : 2
PASS: 2
FAIL: 13
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /connection-allowlist/tentative/dedicated-worker-redirect.sub.window.html [wpt.fyi]
- Same-origin dedicated worker main script fetch with redirect fails.:
FAIL
- Same-origin dedicated worker main script fetch with redirect fails.:
- /connection-allowlist/tentative/dedicated-worker.sub.window.html [wpt.fyi]
- Cross-origin fetch from a dedicated worker (data: URL) should be blocked by inherited policy.:
FAIL - Dedicated worker with empty connection allowlist cannot perform any fetches.:
FAIL
- Cross-origin fetch from a dedicated worker (data: URL) should be blocked by inherited policy.:
- /connection-allowlist/tentative/fetch-keepalive-redirect.sub.window.html [wpt.fyi]
- Fetch keepalive redirect from http://web-platform.test:8000 to http://web-platform.test:8000 fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch keepalive redirect from http://web-platform.test:8000 to http://not-web-platform.test:8000 fails.:
FAIL(Chrome:FAIL, Safari:FAIL)
- Fetch keepalive redirect from http://web-platform.test:8000 to http://web-platform.test:8000 fails.:
- /connection-allowlist/tentative/fetch-keepalive.sub.window.html [wpt.fyi]
- Fetch to http://www.web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://www1.web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://www2.web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://xn--lve-6lad.web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://not-web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://www.not-web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://www1.not-web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://www2.not-web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://xn--n8j6ds53lwwkrqhv28a.not-web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL) - Fetch to http://xn--lve-6lad.not-web-platform.test:8000 with keepalive: true fails.:
FAIL(Chrome:FAIL, Safari:FAIL)
- Fetch to http://www.web-platform.test:8000 with keepalive: true fails.:
- /connection-allowlist/tentative/fetch-redirect.sub.window.html [wpt.fyi]
- Fetch redirect from http://web-platform.test:8000 to http://web-platform.test:8000 fails.:
FAIL - Fetch redirect from http://web-platform.test:8000 to http://not-web-platform.test:8000 fails.:
FAIL
- Fetch redirect from http://web-platform.test:8000 to http://web-platform.test:8000 fails.:
- /connection-allowlist/tentative/fetch-wildcard.sub.window.html [wpt.fyi]
- Fetch cors/omit to http://www.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www1.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www1.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www2.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www2.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://not-web-platform.test:8000 fails.:
FAIL
- Fetch cors/omit to http://www.web-platform.test:8000 fails.:
- /connection-allowlist/tentative/fetch.sub.window.html [wpt.fyi]
- Fetch cors/omit to http://www.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www1.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www1.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www2.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www2.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://not-web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www.not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www.not-web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www1.not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www1.not-web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://www2.not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://www2.not-web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://xn--n8j6ds53lwwkrqhv28a.not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://xn--n8j6ds53lwwkrqhv28a.not-web-platform.test:8000 fails.:
FAIL - Fetch cors/omit to http://xn--lve-6lad.not-web-platform.test:8000 fails.:
FAIL - Fetch no-cors/omit to http://xn--lve-6lad.not-web-platform.test:8000 fails.:
FAIL
- Fetch cors/omit to http://www.web-platform.test:8000 fails.:
- /connection-allowlist/tentative/link_header_modulepreload_deny.sub.window.html [wpt.fyi]
- Link header modulepreload to a not allow-listed url fails.:
FAIL
- Link header modulepreload to a not allow-listed url fails.:
- /connection-allowlist/tentative/link_header_preload_deny.sub.window.html [wpt.fyi]
- Link header preload to a not allow-listed url fails.:
FAIL
- Link header preload to a not allow-listed url fails.:
- /connection-allowlist/tentative/link_rel_modulepreload.sub.window.html [wpt.fyi]
- Modulepreload to http://www.web-platform.test:8000 fails.:
FAIL - Modulepreload to http://www1.web-platform.test:8000 fails.:
FAIL - Modulepreload to http://www2.web-platform.test:8000 fails.:
FAIL - Modulepreload to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Modulepreload to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Modulepreload to http://not-web-platform.test:8000 fails.:
FAIL
- Modulepreload to http://www.web-platform.test:8000 fails.:
- /connection-allowlist/tentative/link_rel_prefetch.sub.window.html [wpt.fyi]
- Prefetch to http://www.web-platform.test:8000 fails.:
FAIL - Prefetch to http://www1.web-platform.test:8000 fails.:
FAIL - Prefetch to http://www2.web-platform.test:8000 fails.:
FAIL - Prefetch to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Prefetch to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Prefetch to http://not-web-platform.test:8000 fails.:
FAIL
- Prefetch to http://www.web-platform.test:8000 fails.:
- /connection-allowlist/tentative/link_rel_preload.sub.window.html [wpt.fyi]
- Preload to http://www.web-platform.test:8000 fails.:
FAIL - Preload to http://www1.web-platform.test:8000 fails.:
FAIL - Preload to http://www2.web-platform.test:8000 fails.:
FAIL - Preload to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 fails.:
FAIL - Preload to http://xn--lve-6lad.web-platform.test:8000 fails.:
FAIL - Preload to http://not-web-platform.test:8000 fails.:
FAIL
- Preload to http://www.web-platform.test:8000 fails.:
- /connection-allowlist/tentative/navigation-anchor-new-tab.sub.window.html [wpt.fyi]
- Navigation via anchor with target=_blank to http://www.web-platform.test:8000 should fail.:
FAIL - Navigation via anchor with target=_blank to http://not-web-platform.test:8000 should fail.:
FAIL
- Navigation via anchor with target=_blank to http://www.web-platform.test:8000 should fail.:
- /connection-allowlist/tentative/navigation-redirect-allow.sub.window.html [wpt.fyi]
- Redirect from http://not-web-platform.test:8000 to http://web-platform.test:8000 should fail.:
FAIL
- Redirect from http://not-web-platform.test:8000 to http://web-platform.test:8000 should fail.:
- /connection-allowlist/tentative/navigation-redirect-block.sub.window.html [wpt.fyi]
- Redirect from http://web-platform.test:8000 to http://web-platform.test:8000 should fail.:
FAIL - Redirect from http://web-platform.test:8000 to http://not-web-platform.test:8000 should fail.:
FAIL - Redirect from http://not-web-platform.test:8000 to http://web-platform.test:8000 should fail.:
FAIL
- Redirect from http://web-platform.test:8000 to http://web-platform.test:8000 should fail.:
- /connection-allowlist/tentative/navigation-redirect-default.sub.window.html [wpt.fyi]
- Redirect from http://web-platform.test:8000 to http://web-platform.test:8000 should fail.:
FAIL - Redirect from http://web-platform.test:8000 to http://not-web-platform.test:8000 should fail.:
FAIL - Redirect from http://not-web-platform.test:8000 to http://web-platform.test:8000 should fail.:
FAIL
- Redirect from http://web-platform.test:8000 to http://web-platform.test:8000 should fail.:
- /connection-allowlist/tentative/navigation-response-origin.sub.window.html [wpt.fyi]
- Navigation to http://www.web-platform.test:8000 should fail.:
FAIL - Navigation to http://www1.web-platform.test:8000 should fail.:
FAIL - Navigation to http://www2.web-platform.test:8000 should fail.:
FAIL - Navigation to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 should fail.:
FAIL - Navigation to http://xn--lve-6lad.web-platform.test:8000 should fail.:
FAIL - Navigation to http://not-web-platform.test:8000 should fail.:
FAIL - Navigation to http://www.not-web-platform.test:8000 should fail.:
FAIL - Navigation to http://www1.not-web-platform.test:8000 should fail.:
FAIL - Navigation to http://www2.not-web-platform.test:8000 should fail.:
FAIL - Navigation to http://xn--n8j6ds53lwwkrqhv28a.not-web-platform.test:8000 should fail.:
FAIL - Navigation to http://xn--lve-6lad.not-web-platform.test:8000 should fail.:
FAIL
- Navigation to http://www.web-platform.test:8000 should fail.:
- /connection-allowlist/tentative/navigation-wildcard.sub.window.html [wpt.fyi]
- Navigation to http://www.web-platform.test:8000 should fail.:
FAIL - Navigation to http://www1.web-platform.test:8000 should fail.:
FAIL - Navigation to http://www2.web-platform.test:8000 should fail.:
FAIL - Navigation to http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8000 should fail.:
FAIL - Navigation to http://xn--lve-6lad.web-platform.test:8000 should fail.:
FAIL - Navigation to http://not-web-platform.test:8000 should fail.:
FAIL
- Navigation to http://www.web-platform.test:8000 should fail.:
- /connection-allowlist/tentative/shared-worker.sub.window.html [wpt.fyi]
- Cross-origin fetch from a shared worker (data: URL) should be blocked by inherited policy.:
FAIL - Shared worker with empty connection allowlist cannot perform any fetches.:
FAIL - Shared worker (blob: URL) inherits creator's connection allowlist policy.:
FAIL
- Cross-origin fetch from a shared worker (data: URL) should be blocked by inherited policy.:
- /connection-allowlist/tentative/websocket.sub.window.html [wpt.fyi]
- Cross-origin same-site WebSocket (www) is blocked.:
FAIL - Cross-origin same-site WebSocket (www1) is blocked.:
FAIL - Cross-site WebSocket is blocked.:
FAIL - Cross-site WebSocket (www subdomain) is blocked.:
FAIL
- Cross-origin same-site WebSocket (www) is blocked.:
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
https://hg.mozilla.org/mozilla-central/rev/c1cc88fb2903
https://hg.mozilla.org/mozilla-central/rev/b3fc70bc3610
Description
•