diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-17 12:33:34 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:44:56 +0200 |
commit | 550d634ff522b0fa1a586f8d85692cff361dca17 (patch) | |
tree | 58d998de9edac93d461534b9849a87948ed0cbd8 /toolkit | |
parent | bbee80fa1c703b534105fbfdd325faea9dbbbffe (diff) | |
download | UXP-550d634ff522b0fa1a586f8d85692cff361dca17.tar UXP-550d634ff522b0fa1a586f8d85692cff361dca17.tar.gz UXP-550d634ff522b0fa1a586f8d85692cff361dca17.tar.lz UXP-550d634ff522b0fa1a586f8d85692cff361dca17.tar.xz UXP-550d634ff522b0fa1a586f8d85692cff361dca17.zip |
Issue #1446 - Only allow extension add-on types for Firefox compat mode.
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/mozapps/extensions/internal/XPIProvider.jsm | 4 |
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 } |