Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 039e17b848fda92de1f543ca47374411d4451f28
      
https://github.com/WebKit/WebKit/commit/039e17b848fda92de1f543ca47374411d4451f28
  Author: Zak Ridouh <[email protected]>
  Date:   2026-10-08 (Thu, 08 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 is empty for a text input 
outside a focused cross-site iframe
<https://bugs.webkit.org/show_bug.cgi?id=325985>
<rdar://problem/188938681>

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.

This relands 322374@main, which was reverted in 322393@main because the new 
accessibility test sent valueForKey: to an
untyped id, which some debug configurations reject with 
-Wobjc-multiple-method-names. The test now types the receiver.

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/323158@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to