Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a74b9f3f360d55866a10ae5be5103424c15cf2f
https://github.com/WebKit/WebKit/commit/2a74b9f3f360d55866a10ae5be5103424c15cf2f
Author: Wenson Hsieh <[email protected]>
Date: 2026-01-29 (Thu, 29 Jan 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm
Log Message:
-----------
[macOS]
EditorStateTests.UnionRectInVisibleSelectedRangeAndDocumentVisibleRect is a
flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=306532
rdar://169186649
Reviewed by Abrar Rahman Protyasha.
This is a speculative fix for this API test, since I was not able to reproduce
it locally — wait for
all pending mouse events to be handled before attempting to proceed with
script-triggered text
selection using `execCommand`.
This should ensure that the page has had a ranged text selection set by the
user.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm:
(TestWebKitAPI::TEST(EditorStateTests,
UnionRectInVisibleSelectedRangeAndDocumentVisibleRect)):
Canonical link: https://commits.webkit.org/306437@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications