Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c7efb80b0d03e1cb4a6180e204ddaabde4c5f669
https://github.com/WebKit/WebKit/commit/c7efb80b0d03e1cb4a6180e204ddaabde4c5f669
Author: Antoine Quint <[email protected]>
Date: 2025-05-12 (Mon, 12 May 2025)
Changed paths:
M Source/WebCore/animation/AnimationTimelinesController.cpp
Log Message:
-----------
[web-animations] don't process pending animations if there is no current time
https://bugs.webkit.org/show_bug.cgi?id=292869
rdar://150728840
Reviewed by Simon Fraser.
In 294049@main we changed the way we set the start time of animations and
started processing
pending animations in batches after a page rendering update. While we added an
assertion in
`AnimationTimelinesController::processPendingAnimations()` that the current
time would be a
resolved value, it appears there is no such guarantee so we speculatively add
an early return
check not to do any work in this method if we don't have a resolved current
time.
* Source/WebCore/animation/AnimationTimelinesController.cpp:
(WebCore::AnimationTimelinesController::processPendingAnimations):
Canonical link: https://commits.webkit.org/294794@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes