Remove the createDownloadManager method from DefaultExternalServices

Given the simplicity of the `createDownloadManager` method, we can leverage import maps to directly initialize the correct `DownloadManager`-instance depending on the build.
This commit is contained in:
Jonas Jenwald 2024-01-26 11:50:25 +01:00
parent d8f77e6b84
commit 1698991ae2
8 changed files with 9 additions and 20 deletions

View file

@ -382,10 +382,6 @@ class FirefoxExternalServices extends DefaultExternalServices {
FirefoxCom.request("reportTelemetry", JSON.stringify(data));
}
static createDownloadManager() {
return new DownloadManager();
}
static createPreferences() {
return new FirefoxPreferences();
}