Closed Bug 1835137 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40236 - Deflake test offscreencanvas.resize.html

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yi Xu <yiyix@google.com> wrote:

Deflake test offscreencanvas.resize.html

Test used to wait 3 animation frames to for the placeholder canvas of
the offscreencanvas size get updated. It's flaky because it takes more
than 3 animation frames. Rewrite it, so it keep requesting new
AnimationFrame until it's updated.

Bug: 1448662
Change-Id: Icc6a9a2e1e4bc8e4dd6bfdaaccb91cac3099999d

Reviewed-on: https://chromium-review.googlesource.com/4566570
WPT-Export-Revision: b117e17b76eb3eae641103c112a208f416e4b9b8

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2475adef70eb [wpt PR 40236] - Deflake test offscreencanvas.resize.html, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.