summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-03-19 06:36:03 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-03-19 06:36:03 +0100
commitb33a15183666fd859157fb5cf0deb6b843ee4c1f (patch)
tree91d215e4260afd7e8c8e377805c38136bb62d413
parent32ca14f34b62745ef1d7a30d1ee387ba3ab58570 (diff)
downloaduxp-b33a15183666fd859157fb5cf0deb6b843ee4c1f.tar.gz
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 2f298a9349..600ec2ff5d 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
}