mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
[PMkit] Remove embedded WebExtensions support
This commit is contained in:
parent
44120b666a
commit
d87fc5357d
2 changed files with 10 additions and 4 deletions
2
toolkit/jetpack/sdk/addon/bootstrap.js
vendored
2
toolkit/jetpack/sdk/addon/bootstrap.js
vendored
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue