summaryrefslogtreecommitdiff
path: root/legacy/boot.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/boot.jsm')
-rw-r--r--legacy/boot.jsm7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/boot.jsm b/legacy/boot.jsm
new file mode 100644
index 0000000..f1cae49
--- /dev/null
+++ b/legacy/boot.jsm
@@ -0,0 +1,7 @@
+let EXPORTED_SYMBOLS = [];
+
+const {AddonManager} = ChromeUtils.import('resource://gre/modules/AddonManager.jsm');
+if (AddonManager.addExternalExtensionLoader) {
+ const {BootstrapLoader} = ChromeUtils.import('chrome://legacy/content/BootstrapLoader.jsm');
+ AddonManager.addExternalExtensionLoader(BootstrapLoader);
+}