Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1fb7ce122d0cd99f7d6cc82775f02565e266ece
https://github.com/WebKit/WebKit/commit/a1fb7ce122d0cd99f7d6cc82775f02565e266ece
Author: Zak Ridouh <[email protected]>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
Log Message:
-----------
[Site Isolation][iOS] Document editing context and selection rects are empty
for inputs in cross-site iframes
<https://bugs.webkit.org/show_bug.cgi?id=325467>
<rdar://problem/188562297>
Reviewed by Ryosuke Niwa.
322280@main sends document editing context requests to the focused frame's
process. A request that names a text input
can target an input in another process, such as one in the main frame while a
cross-site iframe is focused, and then
comes back empty.
Send requests that name a text input to the process hosting that input.
Also cover accessibility selection rects enclosing a selection offset, which
322280@main fixed without a test.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::requestDocumentEditingContext):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm:
(TestWebKitAPI::TEST(SiteIsolation,
AccessibilityRectsEnclosingSelectionOffsetInCrossOriginIframe)):
(TestWebKitAPI::TEST(SiteIsolation,
DocumentEditingContextForTextInputOutsideFocusedCrossOriginIframe)):
Canonical link: https://commits.webkit.org/322374@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications