tor-browser

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

commit b0063f621399135a410531e254e7228db4e679b9
parent dae164df1aa928a0349d4d88e84e072e10343883
Author: John An <johna@microsoft.com>
Date:   Fri, 31 Oct 2025 08:58:10 +0000

Bug 1997173 [wpt PR 55748] - Removing out-of-spec throw in blink animation and animation_effect, a=testonly

Automatic update from web-platform-tests
Removing out-of-spec throw in blink animation and animation_effect

Currently animation creation and animation effect updateTiming will
throw an exception if its timeline is a scroll timeline and: when the
iteration duration or count is infinite, when the animation effect's
start or end delay is 'auto'. The throws are not in spec. This change
removes the throws for infinite iteration duration because that case is
handled.

Change-Id: I13ed61b2837fcffb646513f7aa1b8ffa3c1f47a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7081639
Reviewed-by: Olga Gerchikov <gerchiko@microsoft.com>
Commit-Queue: John An <johna@microsoft.com>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1537454}

--

wpt-commits: 35ce75c0067d0dc40ccb0eff38f6f83e26014741
wpt-pr: 55748

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

diff --git a/testing/web-platform/tests/scroll-animations/scroll-timelines/effect-updateTiming.html b/testing/web-platform/tests/scroll-animations/scroll-timelines/effect-updateTiming.html @@ -341,6 +341,10 @@ test(t => { // ------------------------------ // duration // ------------------------------ +test(t => { + const anim = createScrollLinkedAnimationWithTiming(t, { duration: Infinity }); +}, `Allows creating scroll linked animation with duration Infinity`); + // adapted for progress based animations const gGoodDurationValuesForProgressBased = [ // until duration returns a CSSNumberish which can handle percentages, 100%