[wpt-sync] Sync PR 61229 - [compression-dictionary] Add tentative tests to verify that link headers in subresources do not trigger dictionary fetches
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox155 fixed)
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61229 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61229
Details from upstream follow.
Frédéric Wang Nélar <fwang@igalia.com> wrote:
[compression-dictionary] Add tentative tests to verify that link headers in subresources do not trigger dictionary fetches
Handling of link rel=compression-dictionary header from subresources is currently not defined in specifications. It is implemented in Chromium (with discussions to try to restrict it) but not in WebKit or Firefox. See https://github.com/whatwg/html/issues/11619#issuecomment-49381925637
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•5 days ago
|
| Assignee | ||
Comment 1•5 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=42ce0e00b85879ac5142fd55e65757a1bb3ee5d9
| Assignee | ||
Comment 2•5 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
FAIL: 4
Safari
OK : 1
FAIL: 4
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
•