summaryrefslogtreecommitdiffstats
path: root/toolkit/jetpack/sdk
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-04-20 22:45:23 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-04-20 22:45:23 +0300
commite00e3008fe1775d17c4c9bba7a382a159ba5ef9e (patch)
treec2b77168eebd05432e38e9ca65ba04508f247c73 /toolkit/jetpack/sdk
parent4c0556f9283c8c5c6ac8db9d454e2116d571e997 (diff)
downloadUXP-e00e3008fe1775d17c4c9bba7a382a159ba5ef9e.tar
UXP-e00e3008fe1775d17c4c9bba7a382a159ba5ef9e.tar.gz
UXP-e00e3008fe1775d17c4c9bba7a382a159ba5ef9e.tar.lz
UXP-e00e3008fe1775d17c4c9bba7a382a159ba5ef9e.tar.xz
UXP-e00e3008fe1775d17c4c9bba7a382a159ba5ef9e.zip
[PMkit] Rely on MOZ_WEBEXTENSIONS to include 'sdk/webextension'
Diffstat (limited to 'toolkit/jetpack/sdk')
-rw-r--r--toolkit/jetpack/sdk/addon/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/jetpack/sdk/addon/bootstrap.js b/toolkit/jetpack/sdk/addon/bootstrap.js
index 9eb5efac7..6c5827f1e 100644
--- a/toolkit/jetpack/sdk/addon/bootstrap.js
+++ b/toolkit/jetpack/sdk/addon/bootstrap.js
@@ -134,7 +134,7 @@ Bootstrap.prototype = {
const main = command === "test" ? "sdk/test/runner" : null;
const prefsURI = `${baseURI}defaults/preferences/prefs.js`;
-#ifndef MC_PALEMOON
+#ifdef MOZ_WEBEXTENSIONS
// Init the 'sdk/webextension' module from the bootstrap addon parameter.
require("sdk/webextension").initFromBootstrapAddonParam(addon);
#endif