Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 87d8d6035b7ce6d0c16181d49d3ae6b06e19a49e
      
https://github.com/WebKit/WebKit/commit/87d8d6035b7ce6d0c16181d49d3ae6b06e19a49e
  Author: Zak Ridouh <[email protected]>
  Date:   2026-07-18 (Sat, 18 Jul 2026)

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

  Log Message:
  -----------
  [Site Isolation] Accepting a text suggestion does nothing for inputs in 
cross-origin iframes on macOS
https://bugs.webkit.org/show_bug.cgi?id=317474
rdar://180100566

Reviewed by Alex Christensen.

handleAcceptedCandidate sends HandleAcceptedCandidate to the main frame's
process. When the focused field is in a cross-origin iframe that process has no
local focused frame, so the accepted candidate is dropped and the input is
never updated.

Route the message to the process containing the focused frame.

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

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleAcceptedCandidate):
(WebKit::WebPageProxy::sendToFocusedOrMainFrameProcess):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, 
HandleAcceptedCandidateInCrossOriginIframe)):
* Source/WebKit/UIProcess/WebPageProxy.h:

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



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

Reply via email to