Closed Bug 1730513 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 30694 - [@scroll-timeline] Effectively pause animations in flaky WPT

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox94 fixed)

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Anders Hartvoll Ruud <andruud@chromium.org>' wrote:

[@scroll-timeline] Effectively pause animations in flaky WPT

The last test in at-scroll-timeline-dynamic.tentative.html expects
zero time to have passed between the first and second calls to
'await assert_width(...)', when in reality several frames worth of
time has passed. This causes flakiness on bots.

We don't actually care about exactly where we're at on the document
timeline in this test file, only whether or not we are currently on
that timeline. Hence this CL uses the steps() function to effectively
"stop" document-timeline-attached animations for a full minute.

Fixed: 1248912
Change-Id: I53b0c4319daf306c0e664454b1b48208c384c657
Reviewed-on: https://chromium-review.googlesource.com/3158007
WPT-Export-Revision: 2dfc4b90afbc2229ca61d67c8c46fbe9175875f5

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 18 subtests

Status Summary

Firefox

OK : 1
FAIL: 18

Chrome

OK : 1
PASS: 7
FAIL: 11

Safari

OK : 1
FAIL: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/scroll-animations/css/at-scroll-timeline-dynamic.tentative.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: OK)
Switching between document and scroll timelines [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Switching between document and scroll timelines [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
Changing computed value of animation-timeline changes effective timeline [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Changing computed value of animation-timeline changes effective timeline [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
Changing to/from animation-timeline:none [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Changing to/from animation-timeline:none [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
Changing the source descriptor switches effective timeline [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Changing the source descriptor switches effective timeline [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
Changing the start descriptor switches effective timeline [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Changing the start descriptor switches effective timeline [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
Changing the end descriptor switches effective timeline [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Changing the end descriptor switches effective timeline [scroll]: FAIL (Chrome: FAIL, Safari: FAIL)
Reverse animation direction [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Reverse animation direction [scroll]: FAIL (Chrome: PASS, Safari: FAIL)
Switching timelines while paused [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Switching timelines while paused [scroll]: FAIL (Chrome: FAIL, Safari: FAIL)
Switching timelines and pausing at the same time [immediate]: FAIL (Chrome: FAIL, Safari: FAIL)
Switching timelines and pausing at the same time [scroll]: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/scroll-animations/css/at-scroll-timeline-dynamic.tentative.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04eed8737095 [wpt PR 30694] - [@scroll-timeline] Effectively pause animations in flaky WPT, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/417cf6e86583 [wpt PR 30694] - [@scroll-timeline] Effectively pause animations in flaky WPT, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.