[wpt-sync] Sync PR 65020 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327370
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65020 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65020
Details from upstream follow.
Karl Dubost <karlcow@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327370
WebKit export from bug: Support referrerpolicy on SVG \<<!---->image><!----> and \<<!---->script><!---->
<pre>
Support referrerpolicy on SVG <image> and <script>SVG 2 gives <image> and <script> a referrerpolicy attribute, with the
processing rules of HTML <img> and <script>, and a referrerPolicy IDL
attribute that reflects it.
<a href="https://w3c.github.io/svgwg/svg2-draft/embedded.html#ImageElementReferrerpolicyAttribute">https://w3c.github.io/svgwg/svg2-draft/embedded.html#ImageElementReferrerpolicyAttribute</a>
<a href="https://w3c.github.io/svgwg/svg2-draft/interact.html#ScriptElementReferrerpolicyAttribute">https://w3c.github.io/svgwg/svg2-draft/interact.html#ScriptElementReferrerpolicyAttribute</a>SVGScriptElement now parses the attribute where it returned an empty
policy, and ScriptElement already passes that policy to the fetch.
SVGImageElement parses it the same way, ImageLoader uses it for the
image request, and a change of the parsed policy restarts the load, as
HTMLImageElement does. Both get the referrerPolicy IDL attribute, as
SVGAElement already has.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327370">https://bugs.webkit.org/show_bug.cgi?id=327370</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/326376@main">https://commits.webkit.org/326376@main</a>
</pre>
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 1•11 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122359
| Assignee | ||
Comment 2•11 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 3 subtests
Status Summary
Firefox
OK : 3
PASS: 19
Chrome
OK : 3
PASS: 5
FAIL: 14
Safari
OK : 3
PASS: 3
FAIL: 16
Links
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•