tor-browser

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

commit 77b1d8d5dc62e20792ee857a959d193d3e93c864
parent 595d9508a2c8f89ccccd7c504818441d037e4f67
Author: Rune Lillesveen <futhark@chromium.org>
Date:   Fri, 14 Nov 2025 10:22:36 +0000

Bug 1999762 [wpt PR 56001] - Wait a full frame for the scroll timeline to become inactive, a=testonly

Automatic update from web-platform-tests
Wait a full frame for the scroll timeline to become inactive

Modified scroll-animation-inactive-timeline.html test to allow for
snapshotting happening after first style/layout update.

See proposal in: https://github.com/whatwg/html/pull/11613

Bug: 384523570
Change-Id: I44320e55325206e308d86b2cfd60668202cfe4a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7141918
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1543754}

--

wpt-commits: 08a408bd3261093c01105b23bde6e70a20f922b1
wpt-pr: 56001

Diffstat:
Mtesting/web-platform/tests/scroll-animations/scroll-timelines/scroll-animation-inactive-timeline.html | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/scroll-animations/scroll-timelines/scroll-animation-inactive-timeline.html b/testing/web-platform/tests/scroll-animations/scroll-timelines/scroll-animation-inactive-timeline.html @@ -36,6 +36,7 @@ promise_test(async t => { // Wait for new animation frame which allows the timeline to compute new // current time. await waitForNextFrame(); + await waitForNextFrame(); assert_equals(animation.timeline.currentTime, null, 'Sanity check the timeline is inactive.'); // Play the animation when the timeline is inactive. @@ -62,6 +63,7 @@ promise_test(async t => { // Wait for new animation frame which allows the timeline to compute new // current time. await waitForNextFrame(); + await waitForNextFrame(); assert_equals(animation.timeline.currentTime, null, 'Sanity check the timeline is inactive.'); // Play the animation when the timeline is inactive. @@ -91,6 +93,7 @@ promise_test(async t => { // Wait for new animation frame which allows the timeline to compute new // current time. await waitForNextFrame(); + await waitForNextFrame(); assert_equals(animation.timeline.currentTime, null, 'Sanity check the timeline is inactive.'); // Set start time when the timeline is inactive. @@ -138,6 +141,7 @@ promise_test(async t => { scroller.style.overflow = 'visible'; scroller.scrollTop; await waitForNextFrame(); + await waitForNextFrame(); assert_equals(animation.timeline.currentTime, null, 'Sanity check the timeline is inactive.'); assert_equals(animation.playState, 'running',