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

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/mac/WebPageProxyMac.mm
    M Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.h
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm

  Log Message:
  -----------
  [Site Isolation] Services, paste, and Genmoji insertion don't work with a 
selection in a cross-origin iframe
rdar://188480129
https://bugs.webkit.org/show_bug.cgi?id=325372

Reviewed by Tim Nguyen.

Pipe these messages to the focused frame, not the main frame.

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

* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::insertMultiRepresentationHEIC):
(WebKit::WebPageProxy::replaceSelectionWithPasteboardData):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
* Source/WebKit/UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::stringSelectionForPasteboard):
(WebKit::WebPageProxy::dataSelectionForPasteboard):
(WebKit::WebPageProxy::readSelectionFromPasteboard):
* Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm:
(TestWebKitAPI::TEST(SiteIsolation, 
WriteSelectionToPasteboardInCrossOriginIframe)):
(TestWebKitAPI::TEST(SiteIsolation, 
ReadSelectionFromPasteboardInCrossOriginIframe)):
(TestWebKitAPI::TEST(SiteIsolation, 
InsertAdaptiveImageGlyphInCrossOriginIframe)):

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



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

Reply via email to