summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/internal/XPIProviderUtils.js
diff options
context:
space:
mode:
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.
*/