NEW 243789
Integrate PDF.js with built-in find-in-page functionality
https://bugs.webkit.org/show_bug.cgi?id=243789
Summary Integrate PDF.js with built-in find-in-page functionality
Tim Nguyen (:ntim)
Reported 2022-08-10 09:52:18 PDT
rdar://88457582 Right now, find-in-page can only search for the rendered portion. Few notes: - We can register a custom DefaultExternalServices that can update the find count by parent.postMessage(..., "*") - We can use PDFDocument::postMessageToIframe to notify that find state has changed, Firefox does something similar: https://searchfox.org/mozilla-central/rev/43ba67391e71c57a14420e554e9d381543292611/toolkit/components/pdfjs/content/web/viewer.js#14173-14207
Attachments
Tim Nguyen (:ntim)
Comment 1 2022-08-10 09:56:16 PDT
(and all the code for find-in-page is in FindController.cpp)
Note You need to log in before you can comment on or make changes to this bug.