[webkit-changes] [WebKit/WebKit] b92326: [Site Isolation] Implement WKWebView `findString:`

Charlie Wolfe noreply at github.com
Tue Dec 5 00:21:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b923260a9356e906025968234b3f7368b8fda6c9
      https://github.com/WebKit/WebKit/commit/b923260a9356e906025968234b3f7368b8fda6c9
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

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

  Log Message:
  -----------
  [Site Isolation] Implement WKWebView `findString:`
https://bugs.webkit.org/show_bug.cgi?id=265840
rdar://119163717

Reviewed by Alex Christensen.

To make `findString:` work with site isolation, we should send FindString() IPC messages to each web
process associated with the web page. If any of the web processes find a match, pass `true` to the
callback function.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::findString):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list