[wpt-sync] Sync PR 59381 - Enforce integrity() URL modifier for CSS resources
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59381 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59381
Details from upstream follow.
jj <jj@imput.net> wrote:
Enforce integrity() URL modifier for CSS resources
Add SRI enforcement for the CSS integrity() URL modifier so that
resources with a non-matching hash are blocked from rendering.Bug: 435625756
Change-Id: I852fd6ae3b5d93a9c6c5a38cf1979e99731d92cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7748032
Reviewed-by: Fredrik Söderquist \<fs@opera.com>
Reviewed-by: Mike West \<mkwst@chromium.org>
Commit-Queue: jj \<jj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1618868}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d2fb6e43fab66d1a3d912cf352df070cec664a2d
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests
Status Summary
Firefox
OK : 2
PASS: 3
FAIL: 3
Chrome
OK : 2
PASS: 3
FAIL: 3
Safari
OK : 2
PASS: 3
FAIL: 3
Links
Details
New Tests That Don't Pass
- /css/css-values/urls/integrity/url-font-integrity-negative.sub.html [wpt.fyi]
- integrity() with wrong hash blocks font loading:
FAIL(Chrome:FAIL, Safari:FAIL)
- integrity() with wrong hash blocks font loading:
- /css/css-values/urls/integrity/url-image-integrity.sub.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-values/urls/integrity/url-svg-filter-integrity.sub.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL)
https://hg.mozilla.org/mozilla-central/rev/1a93b7535b6e
https://hg.mozilla.org/mozilla-central/rev/b654a9511ae8
Description
•