summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-12 01:34:38 +0200
committerMoonchild <moonchild@palemoon.org>2020-07-12 01:34:38 +0200
commit4f44e23c1607302a366df40dcfc26cc548444407 (patch)
tree70486a8a5a973da7889e524655f29e8125501f3f
parenta69eda9b9c9e069d212aeefce0f6c85b0f88b9e7 (diff)
downloadUXP-4f44e23c1607302a366df40dcfc26cc548444407.tar
UXP-4f44e23c1607302a366df40dcfc26cc548444407.tar.gz
UXP-4f44e23c1607302a366df40dcfc26cc548444407.tar.lz
UXP-4f44e23c1607302a366df40dcfc26cc548444407.tar.xz
UXP-4f44e23c1607302a366df40dcfc26cc548444407.zip
Revert "Revert "Issue #1446 - Only allow extension add-on types for Firefox compat mode.""
This reverts commit 55fa46d059cc4dc62914c2870ef4f7d6612bcd19.
-rw-r--r--toolkit/mozapps/extensions/internal/XPIProvider.jsm4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/mozapps/extensions/internal/XPIProvider.jsm b/toolkit/mozapps/extensions/internal/XPIProvider.jsm
index 600ec2ff5..2f298a934 100644
--- a/toolkit/mozapps/extensions/internal/XPIProvider.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIProvider.jsm
@@ -6472,8 +6472,8 @@ AddonInternal.prototype = {
}
else if (app.id == FIREFOX_ID) {
version = FIREFOX_APPCOMPATVERSION;
- if (this.type == "locale")
- //Never allow language packs in Firefox compatibility mode
+ if (this.type != "extension")
+ //Only allow extensions in Firefox compatibility mode
return false;
#endif
}