Closed Bug 2090614 Opened 23 days ago Closed 12 days ago

Perma TEST-UNEXPECTED-FAIL | /svg/struct/scripted/use-inline-event-handlers.tentative.html | Inline onload handler of svg-image in a use element shadow tree doesn't run when Gecko 162 merges to beta on 2026-11-19

Categories

(Core :: SVG, defect)

defect

Tracking

()

VERIFIED FIXED
162 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- unaffected
firefox160 --- unaffected
firefox161 --- unaffected
firefox162 + verified

People

(Reporter: smolnar, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Central as Beta simulation

How to run these simulations

Failure log

[task 2026-11-07T11:26:45.869+00:00] 11:26:45     INFO - TEST-START | /referrer-policy/gen/iframe.meta/always/mathml-a-tag.http.html
[task 2026-11-07T11:26:45.869+00:00] 11:26:45     INFO - Closing window f498fe0d-09c6-45d8-b9e4-c4bb0cf5a04a
[task 2026-11-07T11:26:46.104+00:00] 11:26:46     INFO - 
[task 2026-11-07T11:26:46.104+00:00] 11:26:46     INFO - TEST-UNEXPECTED-FAIL | /referrer-policy/gen/iframe.meta/always/mathml-a-tag.http.html | Referrer Policy: Expects stripped-referrer for mathml-a-tag to cross-http origin and no-redirect redirection from http context. - promise_test: Unhandled rejection with value: object "TypeError: URL constructor: undefined is not a valid URL."
[task 2026-11-07T11:26:46.107+00:00] 11:26:46     INFO - 
[task 2026-11-07T11:26:46.107+00:00] 11:26:46     INFO - TEST-UNEXPECTED-FAIL | /referrer-policy/gen/iframe.meta/always/mathml-a-tag.http.html | Referrer Policy: Expects stripped-referrer for mathml-a-tag to cross-https origin and no-redirect redirection from http context. - promise_test: Unhandled rejection with value: object "TypeError: URL constructor: undefined is not a valid URL."
[task 2026-11-07T11:26:46.107+00:00] 11:26:46     INFO - 
[task 2026-11-07T11:26:46.108+00:00] 11:26:46     INFO - TEST-UNEXPECTED-FAIL | /referrer-policy/gen/iframe.meta/always/mathml-a-tag.http.html | Referrer Policy: Expects stripped-referrer for mathml-a-tag to same-http origin and no-redirect redirection from http context. - promise_test: Unhandled rejection with value: object "TypeError: URL constructor: undefined is not a valid URL."
[task 2026-11-07T11:26:46.108+00:00] 11:26:46     INFO - 
[task 2026-11-07T11:26:46.108+00:00] 11:26:46     INFO - TEST-UNEXPECTED-FAIL | /referrer-policy/gen/iframe.meta/always/mathml-a-tag.http.html | Referrer Policy: Expects stripped-referrer for mathml-a-tag to same-https origin and no-redirect redirection from http context. - promise_test: Unhandled rejection with value: object "TypeError: URL constructor: undefined is not a valid URL."
[task 2026-11-07T11:26:46.108+00:00] 11:26:46     INFO - TEST-OK | /referrer-policy/gen/iframe.meta/always/mathml-a-tag.http.html | took 242ms

there are a lot more failures. check failure log

Flags: needinfo?(aborovova)
Depends on: 2090613
Flags: needinfo?(aborovova)
Flags: needinfo?(echuang)
Severity: -- → S2

svg.use-element.block-inline-event-handlers defaults to @IS_NIGHTLY_BUILD@. On beta and release, the inline onload of the cloned <svg:image> still runs, so the svg-image subtest fails (got [false, true]). This sets the pref for the test, as bug 2090613 did for the referrer-policy tests, so beta keeps testing the feature.

Note: the StaticPrefList comment says onload/onerror "are always blocked", but no code does that unconditionally. If the intent was to block them regardless of the pref, a code change is needed instead.

This didn't seem likely to be Service Workers, but I think the hackbot analysis seems largely correct; moving to SVG, resetting the priority, and setting NI on the author of the patch that added the pref that landed in bug 2082327.

Severity: S2 → --
Component: DOM: Service Workers → SVG
No longer depends on: 2090613
Flags: needinfo?(echuang) → needinfo?(emilio)
See Also: → 2090613

Er, note that hackbot picked up on the bug subject and that's what treeherder shows for the central as beta link in comment 0, but the failure log in comment 0 is orthogonal. The SVG failure is also the only thing the log extract shows for me. I'm not really sure what to do with the contrary comment 0 excerpt.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Yeah patch looks good.

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b2a1e260ea8a https://hg.mozilla.org/integration/autoland/rev/690cc35fcb5c Enable svg.use-element.block-inline-event-handlers for use-inline-event-handlers.tentative.html DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: