Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 22a6e86b87b7893d8ce0ca5a718a501e37d7e3f4
https://github.com/WebKit/WebKit/commit/22a6e86b87b7893d8ce0ca5a718a501e37d7e3f4
Author: Alex Christensen <[email protected]>
Date: 2026-09-18 (Fri, 18 Sep 2026)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
M Tools/TestRunnerShared/spi/UIKitSPIForTesting.h
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
Log Message:
-----------
Fix many editing issues in site isolated iframes by sending messages to the
correct process
https://bugs.webkit.org/show_bug.cgi?id=324513
rdar://187751336
Reviewed by Ryosuke Niwa.
A lot of messages in this area were sent to the legacy main frame process.
Send to the focused or main frame process instead to fix many editing issues on
iOS.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
* Source/WebKit/UIProcess/WebPageProxy.cpp:
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::replaceSelectedText):
(WebKit::WebPageProxy::moveSelectionAtBoundaryWithDirection):
(WebKit::WebPageProxy::beginSelectionInDirection):
(WebKit::WebPageProxy::requestRVItemInCurrentSelectedRange):
(WebKit::WebPageProxy::getSelectionContext):
(WebKit::WebPageProxy::extendSelection):
(WebKit::WebPageProxy::selectWordBackward):
(WebKit::WebPageProxy::extendSelectionForReplacement):
(WebKit::WebPageProxy::storeSelectionForAccessibility):
(WebKit::WebPageProxy::moveSelectionByOffset):
(WebKit::WebPageProxy::updateSelectionWithDelta):
* Tools/TestRunnerShared/spi/UIKitSPIForTesting.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::(SiteIsolation, SelectWordInCrossOriginIframe)):
(TestWebKitAPI::(SiteIsolation, SelectWordBackwardInCrossOriginIframe)):
(TestWebKitAPI::(SiteIsolation, SelectWordForReplacementInCrossOriginIframe)):
(TestWebKitAPI::(SiteIsolation, MoveSelectionByOffsetInCrossOriginIframe)):
(TestWebKitAPI::(SiteIsolation, MoveSelectionAtBoundaryInCrossOriginIframe)):
(TestWebKitAPI::(SiteIsolation, ReplaceSelectedTextInCrossOriginIframe)):
Canonical link: https://commits.webkit.org/321392@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications