From fafd8819bcac381afdd6e6d60fc9e37ccf5a70cc Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 13 Sep 2018 11:32:12 +0200 Subject: [PATCH] Enable forwarding, in `FirefoxCom`, of the matchesCount to the browser findbar (bug 1062025) This depends on https://bugzilla.mozilla.org/show_bug.cgi?id=1062025 landing in `mozilla-central` first, since https://searchfox.org/mozilla-central/rev/37663bb87004167184de6f2afa6b05875eb0528e/browser/extensions/pdfjs/content/PdfStreamConverter.jsm#719,740 would otherwise throw for the unknown event name. --- web/firefoxcom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/firefoxcom.js b/web/firefoxcom.js index 46c75db6a..4ac860f3f 100644 --- a/web/firefoxcom.js +++ b/web/firefoxcom.js @@ -212,7 +212,7 @@ PDFViewerApplication.externalServices = { }, updateFindMatchesCount(data) { - // FirefoxCom.request('updateFindMatchesCount', data); + FirefoxCom.request('updateFindMatchesCount', data); }, initPassiveLoading(callbacks) {