[webkit-changes] [WebKit/WebKit] 714724: [UI-side compositing] fast/scrolling/mac/adjust-sc...

Richard Robinson noreply at github.com
Fri Mar 17 12:47:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 714724853f8432e46aaedc84d2be5269337f2990
      https://github.com/WebKit/WebKit/commit/714724853f8432e46aaedc84d2be5269337f2990
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M LayoutTests/fast/scrolling/mac/adjust-scroll-snap-during-gesture.html
    M LayoutTests/platform/mac-wk2/TestExpectations

  Log Message:
  -----------
  [UI-side compositing] fast/scrolling/mac/adjust-scroll-snap-during-gesture.html fails
https://bugs.webkit.org/show_bug.cgi?id=254059
rdar://106115809

Reviewed by Simon Fraser.

This test has been a flaky failure even without UI-side compositing. The test causes two scroll
events to be performed, and then the test waits for a `scroll` event. The flakiness is because
when the test waits for the scroll event, it may end up waiting for one event, or both events.
In the case of it waiting for only the first event, the test will fail because the second scroll
may still be ongoing.

This PR fixes the test by forcing a rendering update after the first scroll event to ensure
consistent behavior with how the test waits for the scroll events to finish.

* LayoutTests/fast/scrolling/mac/adjust-scroll-snap-during-gesture.html:
* LayoutTests/platform/mac-wk2/TestExpectations:

Canonical link: https://commits.webkit.org/261803@main




More information about the webkit-changes mailing list