Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: fbbdeface10baf1a91eea6a903a622f5f2abb119 https://github.com/WebKit/WebKit/commit/fbbdeface10baf1a91eea6a903a622f5f2abb119 Author: Simon Fraser <simon.fra...@apple.com> Date: 2023-03-30 (Thu, 30 Mar 2023)
Changed paths: M LayoutTests/swipe/resources/swipe-test.js M LayoutTests/swipe/swipe-back-with-passive-wheel-listener.html Log Message: ----------- [UI side compositing] Fix swipe tests to work with UI-side compositing https://bugs.webkit.org/show_bug.cgi?id=254723 rdar://107403038 Reviewed by Tim Horton. Swipe tests need to wait for the UI process to receive a layer tree commit with the up-to-date event regions before starting a swipe, so `await UIHelper.ensurePresentationUpdate()` before swiping. `swipe-back-with-passive-wheel-listener.html` needs to use the "slow swipe" function that allows for processing between events, so that the UI process gets a response from the web process to allow the swipe to start. * LayoutTests/swipe/resources/swipe-test.js: (async startSlowSwipeGesture): * LayoutTests/swipe/swipe-back-with-passive-wheel-listener.html: Canonical link: https://commits.webkit.org/262337@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes