[wpt-sync] Sync PR 62620 - Revert "Silently ignore unknown CSS URL modifiers"
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62620 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62620
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Revert "Silently ignore unknown CSS URL modifiers"
This reverts commit b4f711bd71df7e0d3079f359bad36cfb744ed9e4.
The CSSWG[1] resolved to making url() values invalid for unknown modifiers.
Not adding a kill-switch since this was recently shipped.
[1] https://github.com/w3c/csswg-drafts/issues/14056#issuecomment-5605312744
Bug: 559175801
Change-Id: I0b4786fce8ccd95e2d59ec18f2c3feb70a5d872f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8397686
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Reviewed-by: Fredrik Söderquist \<fs@opera.com>
Reviewed-by: jj \<jj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1696057}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e1a11c32f7ff7e37f703b5b516a7892d401747f1
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 58 tests and 23 subtests
Status Summary
Firefox
OK : 3[GitHub] 17[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: 37[GitHub] 59[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 69[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 27[GitHub] 60[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 91[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 3
PASS: 61
FAIL: 3
Safari
OK : 3
PASS: 49
FAIL: 15
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-values/urls/url-request-modifiers-serialize.sub.html [wpt.fyi]
- e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(use-credentials))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer-when-downgrade))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(same-origin))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(origin))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(strict-origin))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(origin-when-cross-origin))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(strict-origin-when-cross-origin))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(unsafe-url))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous) referrer-policy(no-referrer))" should set the property value:
FAILlinked bug:Bug 2037314 - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer) cross-origin(anonymous))" should set the property value:
FAILlinked bug:Bug 2037314
- e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous))" should set the property value:
New Tests That Don't Pass
- /css/css-values/urls/cross-origin/url-image-cross-origin-anonymous.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-image-cross-origin-use-credentials.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-image-set-cross-origin-anonymous.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-import-cross-origin-anonymous.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-import-cross-origin-use-credentials.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-svg-filter-cross-origin-anonymous.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-svg-filter-cross-origin-use-credentials.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/integrity/url-image-integrity.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/integrity/url-import-integrity.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/integrity/url-svg-filter-integrity.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer/url-image-referrer-policy-external-stylesheet.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer/url-image-set-referrer-policy.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer/url-svg-filter-referrer-policy.sub.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer-when-downgrade/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/no-referrer-when-downgrade/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/origin/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/origin/url-image-referrer-policy-external-stylesheet.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/origin/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/origin-when-cross-origin/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/origin-when-cross-origin/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/same-origin/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/same-origin/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/strict-origin/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/strict-origin/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/strict-origin-when-cross-origin/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/strict-origin-when-cross-origin/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/unsafe-url/url-image-referrer-policy-cross-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/unsafe-url/url-image-referrer-policy-external-stylesheet.html [wpt.fyi]:
FAIL - /css/css-values/urls/referrer-policy/unsafe-url/url-image-referrer-policy-same-origin.html [wpt.fyi]:
FAIL - /css/css-values/urls/cross-origin/url-font-cross-origin-anonymous-negative.sub.html [wpt.fyi]
- cross-origin(anonymous) blocks cross-origin font loading without CORS headers:
FAIL
- cross-origin(anonymous) blocks cross-origin font loading without CORS headers:
- /css/css-values/urls/cross-origin/url-font-cross-origin-use-credentials-negative.sub.html [wpt.fyi]
- cross-origin(use-credentials) blocks cross-origin font loading without ACAC:
FAIL
- cross-origin(use-credentials) blocks cross-origin font loading without ACAC:
- /css/css-values/urls/integrity/url-font-integrity-negative.sub.html [wpt.fyi]
- integrity() with wrong hash blocks font loading:
FAIL
- integrity() with wrong hash blocks font loading:
- /css/css-values/urls/referrer-policy/no-referrer/url-import-referrer-policy.html [wpt.fyi]
- referrer-policy(no-referrer) sends no referrer for @import:
FAIL
- referrer-policy(no-referrer) sends no referrer for @import:
- /css/css-values/urls/url-request-modifiers-computed.sub.html [wpt.fyi]
- Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" cross-origin(anonymous))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" cross-origin(use-credentials))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" integrity("sha384-foobar"))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" integrity(""))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(no-referrer))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(no-referrer-when-downgrade))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(same-origin))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(origin))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(strict-origin))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(origin-when-cross-origin))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(strict-origin-when-cross-origin))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(unsafe-url))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" cross-origin(anonymous) integrity("sha384-foobar"))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" integrity("sha384-foobar") cross-origin(anonymous))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" integrity("sha384-foobar") referrer-policy(no-referrer))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(no-referrer) integrity("sha384-foobar"))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" cross-origin(anonymous) referrer-policy(no-referrer))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(no-referrer) cross-origin(anonymous))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" cross-origin(anonymous) integrity("sha384-foobar") referrer-policy(no-referrer))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" integrity("sha384-foobar") referrer-policy(no-referrer) cross-origin(anonymous))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(no-referrer) cross-origin(anonymous) integrity("sha384-foobar"))':
FAIL - Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" referrer-policy(no-referrer) integrity("sha384-foobar") cross-origin(anonymous))':
FAIL
- Property background-image value 'url("http://web-platform.test:8000/css/support/1x1-green.png" cross-origin(anonymous))':
- /css/css-values/urls/url-request-modifiers-font-face-parsing.html [wpt.fyi]
- cross-origin(anonymous) in @font-face src:
FAIL(Chrome:PASS, Safari:FAIL) - referrer-policy(no-referrer) in @font-face src:
FAIL(Chrome:PASS, Safari:FAIL) - integrity() in @font-face src:
FAIL(Chrome:PASS, Safari:FAIL) - multiple modifiers in @font-face src:
FAIL(Chrome:PASS, Safari:FAIL) - modifiers with format() in @font-face src:
FAIL(Chrome:PASS, Safari:FAIL)
- cross-origin(anonymous) in @font-face src:
- /css/css-values/urls/url-request-modifiers-import-parsing.sub.html [wpt.fyi]
- cross-origin(anonymous) in @import:
FAIL - referrer-policy(no-referrer) in @import:
FAIL - integrity() in @import:
FAIL - multiple modifiers in @import:
FAIL - all three modifiers in @import:
FAIL - cross-origin(anonymous) serialized in @import cssText:
FAIL - multiple modifiers serialized in canonical order in @import cssText:
FAIL
- cross-origin(anonymous) in @import:
- /css/css-values/urls/url-request-modifiers-serialize.sub.html [wpt.fyi]
- e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(use-credentials))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" integrity("sha384-foobar"))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" integrity(""))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer-when-downgrade))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(same-origin))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(origin))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(strict-origin))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(origin-when-cross-origin))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(strict-origin-when-cross-origin))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(unsafe-url))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous) integrity("sha384-foobar"))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" integrity("sha384-foobar") cross-origin(anonymous))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" integrity("sha384-foobar") referrer-policy(no-referrer))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer) integrity("sha384-foobar"))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous) referrer-policy(no-referrer))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer) cross-origin(anonymous))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous) integrity("sha384-foobar") referrer-policy(no-referrer))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" integrity("sha384-foobar") referrer-policy(no-referrer) cross-origin(anonymous))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer) cross-origin(anonymous) integrity("sha384-foobar"))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" referrer-policy(no-referrer) integrity("sha384-foobar") cross-origin(anonymous))" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL)
- e.style['background-image'] = "url("http://web-platform.test:8000/css/support/1x1-green.png\" cross-origin(anonymous))" should set the property value:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/691d901054d8
https://hg.mozilla.org/mozilla-central/rev/b8c4786a7b0e
Description
•