From cf412a59f3499e548a49c84a751ff625043cda0d Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 29 May 2018 14:45:18 -0400 Subject: [WebExAM] Use extensions.minCompatibleAppVersion instead of extensions.minCompatiblePlatformVersion for update.json --- toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm b/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm index 78b52d21a..391c69a06 100644 --- a/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm +++ b/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm @@ -27,7 +27,7 @@ const XMLURI_PARSE_ERROR = "http://www.mozilla.org/newlayout/xml/parsererror. const PREF_UPDATE_REQUIREBUILTINCERTS = "extensions.update.requireBuiltInCerts"; #ifdef MOZ_PHOENIX -const PREF_EM_MIN_COMPAT_PLATFORM_VERSION = "extensions.minCompatiblePlatformVersion"; +const PREF_EM_MIN_COMPAT_APP_VERSION = "extensions.minCompatibleAppVersion"; const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" const FIREFOX_APPCOMPATVERSION = "56.9" #endif @@ -524,7 +524,7 @@ function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) { let appEntry = { id: FIREFOX_ID, minVersion: getProperty(app, "strict_min_version", "string", - Services.prefs.getCharPref(PREF_EM_MIN_COMPAT_PLATFORM_VERSION)), + Services.prefs.getCharPref(PREF_EM_MIN_COMPAT_APP_VERSION)), maxVersion: FIREFOX_APPCOMPATVERSION, }; -- cgit v1.2.3