Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c356d9f402c22d334ae2c14b498c3a7013b2b9fa
      
https://github.com/WebKit/WebKit/commit/c356d9f402c22d334ae2c14b498c3a7013b2b9fa
  Author: Ryosuke Niwa <rn...@webkit.org>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm

  Log Message:
  -----------
  REGRESSION (262691@main?): [ iOS ] 
TestWebKitAPI.DocumentEditingContext.RequestRectsInTextAreaInsideScrolledIFrame 
is a near-constant failure.
https://bugs.webkit.org/show_bug.cgi?id=255246

Reviewed by Antti Koivisto.

The flakiness was caused by the race condition between scrolling initiated by 
focus() and window.scrollTo.
Specify preventScroll: true in focus() call to avoid the race condition.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:
(TEST):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to