Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf3ed9f241ee2269667c11ee36195756f5250fbf
      
https://github.com/WebKit/WebKit/commit/bf3ed9f241ee2269667c11ee36195756f5250fbf
  Author: Brady Eidson <[email protected]>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
    M Tools/TestWebKitAPI/Helpers/mac/AppKitSPI.h
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm

  Log Message:
  -----------
  [Site Isolation] Point-based text selection and character-index queries act 
on the main frame instead of the focused cross-origin iframe
rdar://188838531
https://bugs.webkit.org/show_bug.cgi?id=325830

Reviewed by Ryosuke Niwa.

- Route more messages to the correct process
- Translate more cross-origin iframe coordinates properly

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::characterIndexForPointAsync):
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::selectPositionAtBoundaryWithDirection):
(WebKit::WebPageProxy::selectWithTwoTouches):
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::characterIndexForPointAsync):
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::mainFrameRootViewToRootView):
(WebKit::WebPage::selectWithTwoTouches):
(WebKit::WebPage::selectPositionAtBoundaryWithDirection):
* Tools/TestWebKitAPI/Helpers/mac/AppKitSPI.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm:
(TestWebKitAPI::pointAtCharacterInIframe):
(TestWebKitAPI::selectionAnchorOffsetInFrame):
(TestWebKitAPI::TEST(SiteIsolation, 
SelectPositionAtBoundaryInCrossOriginIframe)):
(TestWebKitAPI::TEST(SiteIsolation, SelectWithTwoTouchesInCrossOriginIframe)):
(TestWebKitAPI::TEST(SiteIsolation, CharacterIndexForPointInCrossOriginIframe)):

Canonical link: https://commits.webkit.org/322321@main



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

Reply via email to