Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f7a41b19bbbc30d6158f900f4d676952014f777c
      
https://github.com/WebKit/WebKit/commit/f7a41b19bbbc30d6158f900f4d676952014f777c
  Author: Ryosuke Niwa <[email protected]>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    R Tools/TestWebKitAPI/Tests/WebKit/ScrollPinningBehaviors.cpp
    A Tools/TestWebKitAPI/Tests/WebKit/ScrollPinningBehaviors.mm

  Log Message:
  -----------
  TestWebKitAPI.WebKit.ScrollPinningBehaviors fails when GPU Process and UI 
side compositing are enabled
https://bugs.webkit.org/show_bug.cgi?id=253486
<rdar://106325154>

Reviewed by Simon Fraser.

The failure was caused by the test expecting scrolling positions to be updated 
immediately after setting
WKPageSetScrollPinningBehavior to kWKScrollPinningBehaviorPinToTop or 
kWKScrollPinningBehaviorPinToBottom.

Delay the checks until the following presentation update.

* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit/ScrollPinningBehaviors.cpp: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/ScrollPinningBehaviors.mm: Added.
(WebKit.ScrollPinningBehaviors):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to