diff --git a/web/firefoxcom.js b/web/firefoxcom.js index ba3790e10..b31ea75cc 100644 --- a/web/firefoxcom.js +++ b/web/firefoxcom.js @@ -314,9 +314,9 @@ class FirefoxComDataRangeTransport extends PDFDataRangeTransport { FirefoxCom.request("requestDataRange", { begin, end }); } + // NOTE: This method is currently not invoked in the Firefox PDF Viewer. abort() { - // Sync call to ensure abort is really started. - FirefoxCom.requestSync("abortLoading", null); + FirefoxCom.request("abortLoading", null); } }