summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-03-19 06:36:03 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-27 11:57:28 +0200
commit55fa46d059cc4dc62914c2870ef4f7d6612bcd19 (patch)
treea5b23f25df68294d75f9362cffd1f7a7b9d1f6ce
parentb089b365d6b55948be49c7dbb5a11e9a6872d6a0 (diff)
downloadUXP-55fa46d059cc4dc62914c2870ef4f7d6612bcd19.tar
UXP-55fa46d059cc4dc62914c2870ef4f7d6612bcd19.tar.gz
UXP-55fa46d059cc4dc62914c2870ef4f7d6612bcd19.tar.lz
UXP-55fa46d059cc4dc62914c2870ef4f7d6612bcd19.tar.xz
UXP-55fa46d059cc4dc62914c2870ef4f7d6612bcd19.zip
Revert "Issue #1446 - Only allow extension add-on types for Firefox compat mode."
This reverts commit e8417acbff563634f11f25461d953b951caac056.
-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 2f298a934..600ec2ff5 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 != "extension")
- //Only allow extensions in Firefox compatibility mode
+ if (this.type == "locale")
+ //Never allow language packs in Firefox compatibility mode
return false;
#endif
}