Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: be761b9ceb43d6e91a38fa54f1f3479d9f371ea7
https://github.com/WebKit/WebKit/commit/be761b9ceb43d6e91a38fa54f1f3479d9f371ea7
Author: Diego De La Toba <[email protected]>
Date: 2026-01-21 (Wed, 21 Jan 2026)
Changed paths:
M LayoutTests/fast/scrolling/mac/adjust-scroll-snap-during-gesture.html
M LayoutTests/platform/mac-wk2/TestExpectations
Log Message:
-----------
[ macOS wk2 arm64 ] fast/scrolling/mac/adjust-scroll-snap-during-gesture.html
is a flaky failure
rdar://92127014
https://bugs.webkit.org/show_bug.cgi?id=239627
Reviewed by Jonathan Bedard.
The test was timing-sensitive because after initiating a scroll gesture with
the "changed" phase,
it was only waiting for one scroll event and one animation frame before
recording the scroll position.
Replace the single await UIHelper.animationFrame() with a loop that calls
await UIHelper.ensurePresentationUpdate() three times. This gives the scroll
snap animation
sufficient time to complete and reach the snap point before recording the
position.
* LayoutTests/fast/scrolling/mac/adjust-scroll-snap-during-gesture.html:
* LayoutTests/platform/mac-wk2/TestExpectations:
Canonical link: https://commits.webkit.org/305967@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications