Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2db6785ed8fff72f4235a477450e2efbc555197d
      
https://github.com/WebKit/WebKit/commit/2db6785ed8fff72f4235a477450e2efbc555197d
  Author: Charlie Wolfe <[email protected]>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/FindController.cpp

  Log Message:
  -----------
  REGRESSION(274325@main): didFindString is always false when searching in PDFs
rdar://122901465
https://bugs.webkit.org/show_bug.cgi?id=269310

Reviewed by Sammy Gill.

After 274325@main, API::FindClient::didFindString() is called in the completion 
handler of the final
FindString message if a match was found inside a frame. For PDFs, this frame ID 
was never set, so
didFindString would never be called. For now, if a match is found in a PDF, 
mark the main frame as the
frame containing the match.

* Source/WebKit/WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to