Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4d4877f4f7bc69423964d2d1625ccbbc5c808d69
https://github.com/WebKit/WebKit/commit/4d4877f4f7bc69423964d2d1625ccbbc5c808d69
Author: Megan Gardner <[email protected]>
Date: 2026-03-12 (Thu, 12 Mar 2026)
Changed paths:
M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm
Log Message:
-----------
Rapidly tapping on text input elements crashes on debug builds.
https://bugs.webkit.org/show_bug.cgi?id=309853
rdar://172430162
Reviewed by Wenson Hsieh and Abrar Rahman Protyasha.
This assert is overzealous, we properly clear out the completion
handler, which is the correct thing to do. Other places
interacting with m_selectionChangedHandler just exchange without
asserting. This also causes issues with debug builds because we
crash when we shouldn't.
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::selectTextWithGranularityAtPoint):
Canonical link: https://commits.webkit.org/309184@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications