Closed Bug 2074343 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 62847 - Fix flaky external/wpt/jpegxl/svg-image-element.html load-event race

Categories

(Core :: Graphics: ImageLib, task, P4)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Helmut Januschka <helmut@januschka.com> wrote:

Fix flaky external/wpt/jpegxl/svg-image-element.html load-event race

SVGImageElement has no "complete" attribute, so the listener attached in
the script after the markup could miss the 'load' event entirely; hook
the promise up via onload/onerror content attributes instead, which are
registered while the start tag is parsed, and drop the suppression.

Bug: 564516456
Change-Id: I5c2bfef8dc4fcfe4422b1d8fc72e67d4d26e7cb8
Reviewed-on: https://chromium-review.googlesource.com/8437175
WPT-Export-Revision: f13e0a6cbdf3f7af41f5526638ea9c5258e3020f

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Graphics: ImageLib
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

GitHub PR Head
GitHub PR Base

This made an annotation change to an unrelated wpt in this same dir.

Flags: needinfo?(tnikkel)
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch

(In reply to Timothy Nikkel (:tnikkel) from comment #4)

This made an annotation change to an unrelated wpt in this same dir.

Okay, and then the parent wpt merge bug deleted the file

https://hg-edge.mozilla.org/mozilla-central/rev/df011dee31cf
bug 2075099

Weird, but nothing to fix up here.

Flags: needinfo?(tnikkel)
You need to log in before you can comment on or make changes to this bug.