summaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config.js')
-rw-r--r--config.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/config.js b/config.js
index 35e6bbf..e568b52 100644
--- a/config.js
+++ b/config.js
@@ -9,5 +9,10 @@ try {
"ALLOW_LEGACY_EXTENSIONS": true,
};
- Cu.import('chrome://legacy/content/boot.jsm'); // engage the bootstrap loader
-} catch(ex) {}
+ // engage the bootstrap loader:
+ const {AddonManager} = Cu.import('resource://gre/modules/AddonManager.jsm');
+ const {BootstrapLoader} = Cu.import('chrome://legacy/content/BootstrapLoader.jsm');
+ AddonManager.addExternalExtensionLoader(BootstrapLoader);
+} catch(ex) {
+ Components.utils.reportError(ex.message);
+}