Closed Bug 2095259 Opened 10 days ago Closed 8 days ago

[wpt-sync] Sync PR 65072 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=331037

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 65072 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/65072
Details from upstream follow.

Karl Dubost <karlcow@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=331037

WebKit export from bug: Add crossOrigin IDL attribute to SVGScriptElement

<pre>
Add crossOrigin IDL attribute to SVGScriptElement

SVG 2 gives SVGScriptElement a crossOrigin IDL attribute that reflects
the crossorigin content attribute.
<a href="https://w3c.github.io/svgwg/svg2-draft/interact.html#__svg__SVGScriptElement__crossOrigin">https://w3c.github.io/svgwg/svg2-draft/interact.html#__svg__SVGScriptElement__crossOrigin</a>

ScriptElement already uses the content attribute for the fetch of SVG
scripts. Only the IDL attribute was missing. As on HTMLScriptElement,
the setter is generated with [ReflectSetter], and the getter limits the
value to the known CORS settings. crossorigin is added to the SVG
attribute names for the generated setter, as referrerpolicy and async
already are.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=331037">https://bugs.webkit.org/show_bug.cgi?id=331037</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/326474@main">https://commits.webkit.org/326474@main</a>
</pre>

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 3 subtests

Status Summary

Firefox

OK : 2
PASS: 11

Chrome

OK : 2
PASS: 2
FAIL: 9

Safari

OK : 2
PASS: 3
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.