tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 7928d69b134b237906dea5a029cbeb9cd3753e74
parent 2cf22b50191aeb9d9178b373a43da9c314e19e07
Author: Rune Lillesveen <futhark@chromium.org>
Date:   Mon, 10 Nov 2025 22:19:34 +0000

Bug 1998962 [wpt PR 55940] - De-flake animation-trigger tests with RunSnapshotPostLayoutStateSteps, a=testonly

Automatic update from web-platform-tests
De-flake animation-trigger tests with RunSnapshotPostLayoutStateSteps

Wait for a frame to render before setting up animations.

Passed without this change locally with run_wpt_tests.py, but not with
run_web_tests.py.

Bug: 384523570
Change-Id: I7f17b042b56a4075c9776f24635dae6e93da66b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7130923
Reviewed-by: David Awogbemila <awogbemila@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1541768}

--

wpt-commits: fa38f46e381e65ed160bbfc4e693241b7283c290
wpt-pr: 55940

Diffstat:
Mtesting/web-platform/tests/scroll-animations/animation-trigger/animation-trigger-animation-target-removed-listener.tentative.html | 1+
Mtesting/web-platform/tests/scroll-animations/animation-trigger/animation-trigger-timeline-subject-removed.tentative.html | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/testing/web-platform/tests/scroll-animations/animation-trigger/animation-trigger-animation-target-removed-listener.tentative.html b/testing/web-platform/tests/scroll-animations/animation-trigger/animation-trigger-animation-target-removed-listener.tentative.html @@ -81,6 +81,7 @@ } promise_test(async (test) => { + waitForAnimationFrames(2); setupAnimationAndTrigger(document.getElementById("target"), subject, ANIMATION_DURATION_MS); const finish_promise = attachFinishListener(); diff --git a/testing/web-platform/tests/scroll-animations/animation-trigger/animation-trigger-timeline-subject-removed.tentative.html b/testing/web-platform/tests/scroll-animations/animation-trigger/animation-trigger-timeline-subject-removed.tentative.html @@ -70,6 +70,7 @@ const ANIMATION_DURATION_MS = 1; promise_test(async () => { + waitForAnimationFrames(2); setupAnimationAndTrigger(target, document.getElementById("subject"), ANIMATION_DURATION_MS); const animation = target.getAnimations()[0]; @@ -119,4 +120,4 @@ </script> </body> -</html> -\ No newline at end of file +</html>