summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/AddonManager.jsm
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-06-25 11:10:36 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-06-25 11:10:36 -0400
commit0c5d7a92f11e90165c4fb0c5f085d82b958523ad (patch)
tree1abfc1d48c5dc5f1e662238740ef698d103d494c /toolkit/mozapps/webextensions/AddonManager.jsm
parent04005f5cf1cd7f1293b522116e3e8d8e48246f5b (diff)
downloadUXP-0c5d7a92f11e90165c4fb0c5f085d82b958523ad.tar
UXP-0c5d7a92f11e90165c4fb0c5f085d82b958523ad.tar.gz
UXP-0c5d7a92f11e90165c4fb0c5f085d82b958523ad.tar.lz
UXP-0c5d7a92f11e90165c4fb0c5f085d82b958523ad.tar.xz
UXP-0c5d7a92f11e90165c4fb0c5f085d82b958523ad.zip
[AllAM] Effectively revert Bug 521905 - Make extensions.checkCompatibility be per-application-version
Diffstat (limited to 'toolkit/mozapps/webextensions/AddonManager.jsm')
-rw-r--r--toolkit/mozapps/webextensions/AddonManager.jsm10
1 files changed, 1 insertions, 9 deletions
diff --git a/toolkit/mozapps/webextensions/AddonManager.jsm b/toolkit/mozapps/webextensions/AddonManager.jsm
index c5cb80091..9aa2b8e7b 100644
--- a/toolkit/mozapps/webextensions/AddonManager.jsm
+++ b/toolkit/mozapps/webextensions/AddonManager.jsm
@@ -58,10 +58,7 @@ const KEY_APPDIR = "XCurProcD";
const FILE_BLOCKLIST = "blocklist.xml";
const BRANCH_REGEXP = /^([^\.]+\.[0-9]+[a-z]*).*/gi;
-const PREF_EM_CHECK_COMPATIBILITY_BASE = "extensions.checkCompatibility";
-var PREF_EM_CHECK_COMPATIBILITY = MOZ_COMPATIBILITY_NIGHTLY ?
- PREF_EM_CHECK_COMPATIBILITY_BASE + ".nightly" :
- undefined;
+const PREF_EM_CHECK_COMPATIBILITY = "extensions.checkCompatibility";
const TOOLKIT_ID = "toolkit@mozilla.org";
@@ -870,11 +867,6 @@ var AddonManagerInternal = {
this.validateBlocklist();
}
- if (!MOZ_COMPATIBILITY_NIGHTLY) {
- PREF_EM_CHECK_COMPATIBILITY = PREF_EM_CHECK_COMPATIBILITY_BASE + "." +
- Services.appinfo.version.replace(BRANCH_REGEXP, "$1");
- }
-
try {
gCheckCompatibility = Services.prefs.getBoolPref(PREF_EM_CHECK_COMPATIBILITY);
} catch (e) {}