Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 14bf93938ee42f0a091ffbf58b947c43592650e2
https://github.com/WebKit/WebKit/commit/14bf93938ee42f0a091ffbf58b947c43592650e2
Author: Connor O'Brien <[email protected]>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.h
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.mm
Log Message:
-----------
ScrollingPerformanceTestMomentumInterval is closed immediately if the first
delta event is zero
https://bugs.webkit.org/show_bug.cgi?id=321184
<rdar://184242735>
Reviewed by Abrar Rahman Protyasha.
There is a case where the first event in the synthetic momentum curve
can have have a height value of zero, but the resulting gesture still
looks as expected. In this case the
ScrollingPerformanceTestMomentumInterval signpost interval that is used
for scrollingPerformanceTestingEnabled() will be closed immediately.
This commit updates this logic to not end this interval if a non-zero
delta has never been seen before. The interval will now accurately
signpost the momentum gesture, and retain functionality to be ended
early at the end of the momentum gesture where a delta value of zero is
expected.
Canonical link: https://commits.webkit.org/318752@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications