Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 63e929dfec27b5ccbcc931ac9d52e37c3e8ce60b
https://github.com/WebKit/WebKit/commit/63e929dfec27b5ccbcc931ac9d52e37c3e8ce60b
Author: Zak Ridouh <[email protected]>
Date: 2026-10-08 (Thu, 08 Oct 2026)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
Log Message:
-----------
[Site Isolation][iOS] Copy Link with Highlight does nothing for text selected
in a cross-site iframe
<https://bugs.webkit.org/show_bug.cgi?id=326206>
<rdar://problem/189093318>
Reviewed by Aditya Keerthi and Alex Christensen.
The edit menu offers Copy Link with Highlight based on the focused frame's
editor state, but the command was always
sent to the main frame's process, which has no selection when a cross-site
iframe is focused. Send it to the process
containing the focused frame instead.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::copyLinkWithHighlight):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm:
(TestWebKitAPI::TEST(SiteIsolation, CopyLinkWithHighlightInCrossOriginIframe)):
Canonical link: https://commits.webkit.org/323144@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications