Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a17adf2b822d3bc3025c99fc388680983c6d4db
      
https://github.com/WebKit/WebKit/commit/6a17adf2b822d3bc3025c99fc388680983c6d4db
  Author: Cole Carley <[email protected]>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

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

  Log Message:
  -----------
  [Site Isolation] cross origin iframes cannot hide the find in page UI
https://bugs.webkit.org/show_bug.cgi?id=325878
rdar://188865889

Reviewed by Megan Gardner.

WebPageProxy::hideFindUI() only sent HideFindUI to the main frame's web
content process. With site isolation, cross-origin iframes live in other
processes, so their find highlights (text match markers, find overlay and
find indicator) were never cleared when the find UI was dismissed.

This patch sends HideFindUI to every web content process for the page
instead.

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

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

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



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

Reply via email to