[wpt-sync] Sync PR 61352 - [compression-dictionary] Align crossorigin handling with the spec PR.
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61352 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61352
Details from upstream follow.
Frédéric Wang Nélar <fwang@igalia.com> wrote:
[compression-dictionary] Align crossorigin handling with the spec PR.
Per https://github.com/whatwg/html/pull/11620, if crossorigin is
"No Cors" we should default to Anonymous. Currently, Chromium departs
from the spec and always forces request's mode to "cors" and request's
credentials to "omit". This CL aligns Chromium's behavior on the spec PR
under a runtime flag and adds corresponding WPT test.Bug: 522338661, 40255884
Change-Id: I30835aebc9df79b59e74747b0729efbc6df69457Reviewed-on: https://chromium-review.googlesource.com/8098207
WPT-Export-Revision: 5d1d4344e827e292876cfcb3cd193966da773a21
| Assignee | ||
Updated•6 days ago
|
| Assignee | ||
Comment 1•6 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=43e888083c98f1b50fc64eecbb1d8e20a595124b
| Assignee | ||
Comment 2•6 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 16 tests and 16 subtests
Status Summary
Firefox
OK : 1[GitHub] 16[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 4[GitHub] 48[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 8
Chrome
OK : 1
PASS : 1
FAIL : 3
Safari
PASS : 1
TIMEOUT: 2
NOTRUN : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /fetch/compression-dictionary/dictionary-decompression.tentative.https.html [wpt.fyi]
- Decompression using Brotli fails when dictionary hash mismatches:
FAIL - Decompression using Zstandard fails when dictionary hash mismatches:
FAIL
- Decompression using Brotli fails when dictionary hash mismatches:
- /fetch/compression-dictionary/dictionary-fetch-no-cors.tentative.https.html [wpt.fyi]
- Opaque responses resulting from cross-origin redirects in no-cors mode do not register dictionary:
FAIL
- Opaque responses resulting from cross-origin redirects in no-cors mode do not register dictionary:
- /fetch/compression-dictionary/dictionary-fetch-timing-001.tentative.https.html [wpt.fyi]
- Timing of compression dictionary fetches for <link> element and Link header.:
FAIL
- Timing of compression dictionary fetches for <link> element and Link header.:
- /fetch/compression-dictionary/dictionary-match.tentative.https.html [wpt.fyi]
- Dictionary with unknown match-dest is not used for fetch() API:
FAIL - match-dest presence takes priority over longer match patterns:
FAIL
- Dictionary with unknown match-dest is not used for fetch() API:
- /fetch/compression-dictionary/dictionary-registration.tentative.https.html [wpt.fyi]
- Dictionary with 1025 character dictionary ID is not registered:
FAIL - Dictionary registration with dictionary ID (valid characters and backslash escaping):
FAIL
- Dictionary with 1025 character dictionary ID is not registered:
Description
•