From e8417acbff563634f11f25461d953b951caac056 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 17 Feb 2020 12:33:34 +0100 Subject: Issue #1446 - Only allow extension add-on types for Firefox compat mode. --- toolkit/mozapps/extensions/internal/XPIProvider.jsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/mozapps') 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 } -- cgit v1.2.3