mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Simplify the fallback
-logic in the default viewer
After [bug 1705327](https://bugzilla.mozilla.org/show_bug.cgi?id=1705327) the `ChromeActions.fallback`-method is now just a stub[1], since the fallback bar was removed. Hence there's no good reason, as far as I can tell, to keep this code in the viewer itself when it's completely unused. --- [1] See https://searchfox.org/mozilla-central/rev/292d17c13daa61016fd082e2337297091d53a015/toolkit/components/pdfjs/content/PdfStreamConverter.jsm#575-581
This commit is contained in:
parent
2cc98dcdaa
commit
6d2863f80a
2 changed files with 1 additions and 28 deletions
|
@ -382,10 +382,6 @@ class FirefoxExternalServices extends DefaultExternalServices {
|
|||
FirefoxCom.requestSync("initPassiveLoading", null);
|
||||
}
|
||||
|
||||
static async fallback(data) {
|
||||
return FirefoxCom.requestAsync("fallback", data);
|
||||
}
|
||||
|
||||
static reportTelemetry(data) {
|
||||
FirefoxCom.request("reportTelemetry", JSON.stringify(data));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue