[wpt-sync] Sync PR 61480 - Expose RequestDestination "compression-dictionary"
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 61480 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61480
Details from upstream follow.
Frédéric Wang Nélar <fwang@igalia.com> wrote:
Expose RequestDestination "compression-dictionary"
Currently, Chromium uses "dictionary" as an internal destination. Align
Chromium with spec PR [1], which uses string "compression-dictionary"
instead. This is a web-exposed behavior change, so do that under a
runtime flag. Also add a WPT test to check the new value, a more
complex one is added in [2].[1] https://github.com/whatwg/fetch/pull/1854
[2] https://chromium-review.googlesource.com/c/chromium/src/+/8129944NO_IFTTT=Both files updated, but the IfThen labels were wrong.
Bug: 522338661, 40255884
Change-Id: I54b2047492ebc4d410351a83a10de8d0249b4b3aReviewed-on: https://chromium-review.googlesource.com/8086393
WPT-Export-Revision: a772b20d770d5d02e6373449fb5f398a5a07b5e8
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 1•4 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f9cfea24e9cf5a470aa75c59093ebab2c9db234f
| Assignee | ||
Comment 2•4 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 26 tests and 2 subtests
Status Summary
Firefox
OK : 4[GitHub] 26[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 : 19[GitHub] 71[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 : 1[GitHub] 12[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]
Chrome
OK : 4
PASS : 6
FAIL : 14
Safari
PASS : 4
TIMEOUT: 8
NOTRUN : 12
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-fetch-timing-002.tentative.https.html [wpt.fyi]
- <link rel=compression-dictionary> are fetched after DOM operations.:
FAIL
- <link rel=compression-dictionary> are fetched after DOM operations.:
- /fetch/compression-dictionary/dictionary-fetch-with-link-connect-src-nonce.tentative.https.html [wpt.fyi]
- All <link rel=compression-dictionary> are blocked via CSP rule connect-src 'nonce-abc', even when they have a matching cryptographic nonce.:
FAIL
- All <link rel=compression-dictionary> are blocked via CSP rule connect-src 'nonce-abc', even when they have a matching cryptographic nonce.:
- /fetch/compression-dictionary/dictionary-fetch-with-link-connect-src.tentative.https.html [wpt.fyi]
- link rel=compression-dictionary can be blocked via connect-src.:
FAIL
- link rel=compression-dictionary can be blocked via connect-src.:
- /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:
- /fetch/compression-dictionary/fetch-destination.tentative.https.html [wpt.fyi]
- HTMLLinkElement with rel=compression-dictionary fetches with a "compression-dictionary" string Request.destination:
FAIL(Chrome:FAIL, Safari:TIMEOUT)
- HTMLLinkElement with rel=compression-dictionary fetches with a "compression-dictionary" string Request.destination:
Comment 4•4 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ba10519f0fcd
https://hg.mozilla.org/mozilla-central/rev/f0e2db776b6f
Description
•