[wpt-sync] Sync PR 31297 - Speculative fix for scroll-animation-inactive-timeline.html
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox95 fixed)
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31297 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31297
Details from upstream follow.
Kevin Ellis <kevers@chromium.org> wrote:
Speculative fix for scroll-animation-inactive-timeline.html
This test is flaking on Mac and Windows. The triggered failure is a
sanity check to ensure that the scroll timeline is inactive. The method
waitForNextFrame() assumes that document.timeline.currentTime has been
initialized prior to running the tests. With recent changes to
navigation, this assumption might no longer be valid. The tentative fix
adds an additional call to waitForNextFrame at the start of the test to
establish a frame boundary. Then the next wait will be guaranteed to
trigger in a later frame, thereby picking up the style change and
updating timeline.currentTime. Without the fix, it is possible for
promise to be resolved prior to running style update.Bug: 1259150
Change-Id: I26617419f14ea034a5b915a02a5e96eb401f7e9f
Reviewed-on: https://chromium-review.googlesource.com/3226725
WPT-Export-Revision: 33498d930d498cdf9bf6b03bda21866456b81ec3
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb9d1aa0516eaa0e0dc2f0f91270612a5aced758
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4decef17d4c8102f8e4d13d69f6e4149b3630b7c
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
OK : 1
FAIL: 4
Chrome
OK : 1
PASS: 4
Safari
OK : 1
FAIL: 4
Links
Details
New Tests That Don't Pass
/scroll-animations/scroll-timelines/scroll-animation-inactive-timeline.html
Play pending task doesn't run when the timeline is inactive.: FAIL (Chrome: PASS, Safari: FAIL)
Animation start and current times are correct if scroll timeline is activated after animation.play call.: FAIL (Chrome: PASS, Safari: FAIL)
Animation start and current times are correct if scroll timeline is activated after setting start time.: FAIL (Chrome: PASS, Safari: FAIL)
Animation current time is correct when the timeline becomes newly inactive and then active again.: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02801e338875 [wpt PR 31297] - Speculative fix for scroll-animation-inactive-timeline.html, a=testonly
Comment 5•3 years ago
|
||
bugherder |
Description
•