Bug 233234 - Need a way to test scrolling momentum animations
Summary: Need a way to test scrolling momentum animations
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-16 20:24 PST by Simon Fraser (smfr)
Modified: 2021-11-23 20:25 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-11-16 20:24:41 PST
Currently WheelEventTestMonitor doesn't know about momentum animations, but even if it did, it's impossible to write a test that determines whether an "End" momentum event has interrupted the momentum. This is because we start the animator when we see the momentum "Began", ignoring the rest of the momentum changed. The animator runs on a display link callback on the scrolling thread, so we don't have a reliable way to know when the animator has run enough frames to move content around.
Comment 1 Radar WebKit Bug Importer 2021-11-23 20:25:19 PST
<rdar://problem/85716526>