diff options
Diffstat (limited to 'legacy/BootstrapLoader.jsm')
-rw-r--r-- | legacy/BootstrapLoader.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/BootstrapLoader.jsm b/legacy/BootstrapLoader.jsm index cd7b64c..e2a693d 100644 --- a/legacy/BootstrapLoader.jsm +++ b/legacy/BootstrapLoader.jsm @@ -14,8 +14,8 @@ XPCOMUtils.defineLazyModuleGetters(this, { Blocklist: "resource://gre/modules/Blocklist.jsm", ConsoleAPI: "resource://gre/modules/Console.jsm", InstallRDF: "resource://legacy/RDFManifestConverter.jsm", - Services: "resource://gre/modules/Services.jsm", }); +const Services = globalThis.Services || ChromeUtils.import("resource://gre/modules/Services.jsm").Services; XPCOMUtils.defineLazyGetter(this, "BOOTSTRAP_REASONS", () => { const {XPIProvider} = ChromeUtils.import("resource://gre/modules/addons/XPIProvider.jsm"); |