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:
Jonas Jenwald 2022-03-02 13:21:36 +01:00
parent 2cc98dcdaa
commit 6d2863f80a
2 changed files with 1 additions and 28 deletions

View file

@ -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));
}