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.
This commit is contained in:
Jonas Jenwald 2018-09-13 11:32:12 +02:00
parent ed32f6a082
commit fafd8819bc

View File

@ -212,7 +212,7 @@ PDFViewerApplication.externalServices = {
},
updateFindMatchesCount(data) {
// FirefoxCom.request('updateFindMatchesCount', data);
FirefoxCom.request('updateFindMatchesCount', data);
},
initPassiveLoading(callbacks) {