Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 24d3f73887689543ae3dcc4917cfdde3d4caf631
https://github.com/WebKit/WebKit/commit/24d3f73887689543ae3dcc4917cfdde3d4caf631
Author: Diego De La Toba <[email protected]>
Date: 2026-03-04 (Wed, 04 Mar 2026)
Changed paths:
M LayoutTests/fast/scrolling/latching/scroll-div-no-latching.html
M LayoutTests/platform/mac-wk2/TestExpectations
Log Message:
-----------
[MacOS debug] fast/scrolling/latching/scroll-div-no-latching.html is a flaky
text failure.
rdar://171379964
https://bugs.webkit.org/show_bug.cgi?id=308845
Reviewed by Jonathan Bedard.
This patch resovles a flaky failure caused by insufficient waiting for scoll
completion.
- Replaced UIHelper.ensurePresentationUpdate() with
UIHelper.startMonitoringWheelEvents() - This sets
up proper wheel event monitoring which is necessary for
waitForScrollCompletion to work correctly
- Replaced the two renderingUpdate() calls with waitForScrollCompletion() plus
two additional
renderingUpdate() calls - The waitForScrollCompletion uses
eventSender.callAfterScrollingCompletes()
which properly waits for scroll events to be processed. The additional
rendering updates ensure the
scroll position is synchronized before checking.
* LayoutTests/fast/scrolling/latching/scroll-div-no-latching.html:
* LayoutTests/platform/mac-wk2/TestExpectations:
Canonical link: https://commits.webkit.org/308665@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications