зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1457224 Enable delayed background page startup on Nightly r=zombie
MozReview-Commit-ID: 8xzBLmQRIL6 --HG-- extra : rebase_source : 1a3182b395416c30ff27873e6539501c80d9a43b extra : histedit_source : 6945649dab3c354542220c8fc81f4f1347dcb353
This commit is contained in:
Родитель
c53637983d
Коммит
d920f0fd25
|
@ -80,6 +80,10 @@ pref("extensions.webextensions.default-content-security-policy", "script-src 'se
|
|||
pref("extensions.webextensions.remote", true);
|
||||
#endif
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
pref("extensions.webextensions.background-delayed-startup", true);
|
||||
#endif
|
||||
|
||||
// Extensions that should not be flagged as legacy in about:addons
|
||||
pref("extensions.legacy.exceptions", "testpilot@cliqz.com,@testpilot-containers,jid1-NeEaf3sAHdKHPA@jetpack,@activity-streams,pulse@mozilla.com,@testpilot-addon,@min-vid,tabcentertest1@mozilla.com,snoozetabs@mozilla.com,speaktome@mozilla.com,hoverpad@mozilla.com");
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@ AddonTestUtils.init(this);
|
|||
AddonTestUtils.overrideCertDB();
|
||||
AddonTestUtils.createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "42");
|
||||
|
||||
Services.prefs.setBoolPref("extensions.webextensions.background-delayed-startup", false);
|
||||
|
||||
let extensionHandlers = new WeakSet();
|
||||
|
||||
function frameScript() {
|
||||
|
|
|
@ -9,6 +9,8 @@ AddonTestUtils.overrideCertDB();
|
|||
|
||||
AddonTestUtils.createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "42");
|
||||
|
||||
Services.prefs.setBoolPref("extensions.webextensions.background-delayed-startup", false);
|
||||
|
||||
const ADDON_ID = "test-startup-cache@xpcshell.mozilla.org";
|
||||
|
||||
function makeExtension(opts) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче