[wpt-sync] Sync PR 35935 - Prevent loading race in SVG <image> intrinsic size test
Categories
(Core :: SVG, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35935 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35935
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Prevent loading race in SVG <image> intrinsic size test
In
external/wpt/svg/geometry/svg-image-intrinsic-size-with-cssstyle-auto.html
an image could have finished loading before we attached the 'load'
handler to it, which would've cause the test to time out.Wait for the window 'load' event instead (for all the images) to close
this race window.Minor touch ups (var->const, \< -> <, indentation, trailing comma)
were applied as well.Bug: 1364327
Change-Id: Ie1eb46d6d8bdb7b24d66293908555b3f7db417d1
Reviewed-on: https://chromium-review.googlesource.com/3900016
WPT-Export-Revision: e1d6bbef2ebfd52afe4b491f9e39006a4ca9a1a3
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=29403e56288541a21616f8b5db80919de0875eca
Assignee | ||
Comment 2•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cb5fd3ccfc3fa7a6b1b5937de421a2edcf3ae509
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 32 subtests
Status Summary
Firefox
OK
: 1
PASS
: 32
Chrome
OK
: 1
PASS
: 32
Safari
OK
: 1
PASS
: 28
FAIL
: 4
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3bb3dac2b30 [wpt PR 35935] - Prevent loading race in SVG <image> intrinsic size test, a=testonly
Comment 5•2 years ago
|
||
bugherder |
Description
•