Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b82442379b0d6eeed03dcf953e99e7049d1d080e
https://github.com/WebKit/WebKit/commit/b82442379b0d6eeed03dcf953e99e7049d1d080e
Author: Diego De La Toba <[email protected]>
Date: 2026-03-17 (Tue, 17 Mar 2026)
Changed paths:
M LayoutTests/inspector/animation/resources/lifecycle-utilities.js
M LayoutTests/platform/mac-wk2/TestExpectations
Log Message:
-----------
[macOs] inspector/animation/lifecycle-css-transition.html is a flaky text
failure/timeout
rdar://172689579
https://bugs.webkit.org/show_bug.cgi?id=310045
Reviewed by BJ Burg.
This test awaits an Animation.animationDestroyed event after calling
classList.remove("active"),
but it appears the actual CSS transition cancellation requires a rendering
update. Since destroyAnimations() uses
setTimeout() to schedule GCController.collect(), no rendering update is
guaranteed, and the test can time out
waiting for the destruction event.
Fix in ifecycle-utilities.js:40 : Replace setTimeout with
requestAnimationFrame() forces a rendering update,
ensuring the style change is processed and the CSS transition is cleaned up.
* LayoutTests/inspector/animation/resources/lifecycle-utilities.js:
* LayoutTests/platform/mac-wk2/TestExpectations:
Canonical link: https://commits.webkit.org/309384@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications