Files
tubestation/testing/web-platform/tests/css/css-scroll-snap
David Awogbemila 2373c82a54 Bug 1934917 [wpt PR 49495] - Fix flaky WPT, a=testonly
Automatic update from web-platform-tests
Fix flaky WPT

The flaky WPT in the linked bug probably flakes because it relies on a
fling gesture and the compositor is not ready at the time the test is
run as it is still in paint holding.

To fix this, as explained here [1], we can use waitForCompositorReady
which will block until the compositor is producing frames.

[1] https://issues.chromium.org/u/1/issues/380534434#comment5

Bug: 380534434
Change-Id: Ib7ec9303e1ef87431cca8315eb38ea574c52933f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6063900
Commit-Queue: David Awogbemila <awogbemila@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1390971}

--

wpt-commits: 9cab93292b906aac9c6cf78051b211c3fee1172e
wpt-pr: 49495
2024-12-05 14:34:53 +00:00
..