summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/internal/XPIProviderUtils.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-06-26 17:34:01 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-06-26 17:34:01 -0400
commit2d8e325fbdaeaa26b1f2a99ddbbb67804ef97864 (patch)
tree641372c5e07ff1b8a981b014ec688ad3e15e21f3 /toolkit/mozapps/webextensions/internal/XPIProviderUtils.js
parentcacc5283c009b15fa7cc526f3e16148ec9df30db (diff)
downloadUXP-2d8e325fbdaeaa26b1f2a99ddbbb67804ef97864.tar
UXP-2d8e325fbdaeaa26b1f2a99ddbbb67804ef97864.tar.gz
UXP-2d8e325fbdaeaa26b1f2a99ddbbb67804ef97864.tar.lz
UXP-2d8e325fbdaeaa26b1f2a99ddbbb67804ef97864.tar.xz
UXP-2d8e325fbdaeaa26b1f2a99ddbbb67804ef97864.zip
[WebExAM] Remove E10SAddonsRollout.jsm
The associated preferences will have to remain for the time being because of nsAppRunner.cpp reads them.
Diffstat (limited to 'toolkit/mozapps/webextensions/internal/XPIProviderUtils.js')
-rw-r--r--toolkit/mozapps/webextensions/internal/XPIProviderUtils.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/toolkit/mozapps/webextensions/internal/XPIProviderUtils.js b/toolkit/mozapps/webextensions/internal/XPIProviderUtils.js
index d04eb207c..63ff6d8c8 100644
--- a/toolkit/mozapps/webextensions/internal/XPIProviderUtils.js
+++ b/toolkit/mozapps/webextensions/internal/XPIProviderUtils.js
@@ -472,7 +472,6 @@ this.XPIDatabase = {
ASYNC_SAVE_DELAY_MS);
}
- this.updateAddonsBlockingE10s();
let promise = this._deferredSave.saveChanges();
if (!this._schemaVersionSet) {
this._schemaVersionSet = true;
@@ -1413,21 +1412,6 @@ this.XPIDatabase = {
this.saveChanges();
},
- updateAddonsBlockingE10s: function() {
- let blockE10s = false;
-
- Preferences.set(PREF_E10S_HAS_NONEXEMPT_ADDON, false);
- for (let [, addon] of this.addonDB) {
- let active = (addon.visible && !addon.disabled && !addon.pendingUninstall);
-
- if (active && XPIProvider.isBlockingE10s(addon)) {
- blockE10s = true;
- break;
- }
- }
- Preferences.set(PREF_E10S_BLOCKED_BY_ADDONS, blockE10s);
- },
-
/**
* Synchronously calculates and updates all the active flags in the database.
*/