Closed Bug 1464517 Opened 7 years ago Closed 1 month ago

[wpt-sync] Sync PR 11170 - Make sizes-dynamic-001.html not racy.

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11170 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/11170 Details from upstream follow. Emilio Cobos Álvarez <emilio@crisal.io> wrote: > Make sizes-dynamic-001.html not racy. > > There's no guarantee the image will be resized before the harness takes the > screenshot. > > Indeed, the image is guaranteed to have the old width / offsetWidth if we were > to query it from frameLoaded. We do need to wait for the image load task to run. > > This makes the test reliable in both Blink and Gecko at least, afaict. > > This was reviewed and landed in mozilla-central in bug 1464392, but the sync bot > seems to have missed it. > > MozReview-Commit-ID: 7EDC7jlUScc
Component: web-platform-tests → DOM
Product: Testing → Core
Component: DOM → DOM: Core & HTML
Severity: normal → S3

it looks the downstream was completed.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.