[PMkit] Remove embedded WebExtensions support

This commit is contained in:
JustOff 2018-04-20 21:11:18 +03:00 • committed by Roy Tam
commit d87fc5357d
2 changed files with 10 additions and 4 deletions

View file

@ -134,8 +134,10 @@ Bootstrap.prototype = {
const main = command === "test" ? "sdk/test/runner" : null;
const prefsURI = `${baseURI}defaults/preferences/prefs.js`;
#ifndef MC_PALEMOON
// Init the 'sdk/webextension' module from the bootstrap addon parameter.
require("sdk/webextension").initFromBootstrapAddonParam(addon);
#endif
const { startup } = require("sdk/addon/runner");
startup(reason, {loader, main, prefsURI});