summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-17 12:33:34 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-17 12:33:34 +0100
commite8417acbff563634f11f25461d953b951caac056 (patch)
treea31380955672a0d61ae03e582252d90b6427b76a /toolkit
parentf107de8a9051489a7cb786ff0106d8f3ab046ca8 (diff)
downloaduxp-e8417acbff563634f11f25461d953b951caac056.tar.gz
Issue #1446 - Only allow extension add-on types for Firefox compat mode.
Diffstat (limited to 'toolkit')
-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 600ec2ff5d..2f298a9349 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
}