Closed Bug 2073415 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62780 - Reduce scroll-timeline-source-single-axis-viewport-writing-mode flakes

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hoch Hochkeppel <mhochk@microsoft.com> wrote:

Reduce scroll-timeline-source-single-axis-viewport-writing-mode flakes

This test was using waitForNextFrame to wait for a style mutation to
have taken effect, but that is not guaranteed if the next frame was
already in progress. This change modifies the test to use
runAndWaitForFrameUpdate, which waits for a completed frame, then
applies the style change, and then waits for the next frame. This
ensures the style mutation should be included in that 'next frame'.

Private repeat runs of this on Mac showed an improvement from 68/100
passing to 100/100.

Test History for this test shows regular flakiness on many Mac variants,
and occassional flakiness on other platforms:

https://ci.chromium.org/ui/test/chromium/%3A%2F%2F%5C%3Aheadless_shell_wpt!webtest%3A%3Aexternal%2Fwpt%2Fscroll-animations%2Fscroll-timelines%23scroll-timeline-source-single-axis-viewport-writing-mode.html

Bug: None
Change-Id: I4c9a00e9db1181ca3bedb567a2d0d9a66f0ae7b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8417508
Commit-Queue: Hoch Hochkeppel \<mhochk@microsoft.com>
Reviewed-by: Olga Gerchikov \<gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1700468}

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 54 tests

Status Summary

Firefox

OK : 1[GitHub] 38[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 5[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 371[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 381[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-opt] 382[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]
FAIL: 1[GitHub] 7[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug] 8[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/21322a23e9b7 https://hg.mozilla.org/integration/autoland/rev/edbaf8c27399 [wpt PR 62780] - Reduce scroll-timeline-source-single-axis-viewport-writing-mode flakes, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.