[Webkit-unassigned] [Bug 249609] New: Rewrite wheel events tests for UI-side compositing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 19 13:48:55 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249609

            Bug ID: 249609
           Summary: Rewrite wheel events tests for UI-side compositing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

The following pattern is often used in scrolling tests:

            eventSender.monitorWheelEvents();
            await UIHelper.mouseWheelScrollAt(50, 50, 0, -10);
            await UIHelper.waitForScrollCompletion();

This doesn't work when UI-side compositing is enabled, because the UI process may not have committed a new layer/scrolling tree by the time that the first wheel event is handled in the UI process. This is because layer/scrolling tree updates happen via updateRendering() on a 60fps cadence, but `UIHelper.mouseWheelScrollAt` sends events via async IPC, which can get to the UI Process first.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221219/6c8cc504/attachment.htm>


More information about the webkit-unassigned mailing list