Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 39304991a0a7aaabc31eb5241f71133aad13a942
      
https://github.com/WebKit/WebKit/commit/39304991a0a7aaabc31eb5241f71133aad13a942
  Author: Zak Ridouh <[email protected]>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm

  Log Message:
  -----------
  [Site Isolation][macOS] The context menu key does nothing in cross-site 
iframes
<https://bugs.webkit.org/show_bug.cgi?id=325550>
<rdar://problem/188634313>

Reviewed by Charlie Wolfe.

The context menu key was always sent to the main frame's process, so a focused 
cross-site iframe never got the
contextmenu event. Send it to the focused frame's process.

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

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleContextMenuKeyEvent):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, ContextMenuKeyInCrossOriginFrame)):

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



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

Reply via email to