diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-05-29 14:45:18 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-05-29 14:45:18 -0400 |
commit | cf412a59f3499e548a49c84a751ff625043cda0d (patch) | |
tree | a9b11d502fe07b50bb39701517a66e82dbb91a49 /toolkit | |
parent | d58930d925e61cb23839d40ac384246d6e2d2332 (diff) | |
download | UXP-cf412a59f3499e548a49c84a751ff625043cda0d.tar UXP-cf412a59f3499e548a49c84a751ff625043cda0d.tar.gz UXP-cf412a59f3499e548a49c84a751ff625043cda0d.tar.lz UXP-cf412a59f3499e548a49c84a751ff625043cda0d.tar.xz UXP-cf412a59f3499e548a49c84a751ff625043cda0d.zip |
[WebExAM] Use extensions.minCompatibleAppVersion instead of extensions.minCompatiblePlatformVersion for update.json
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm | 4 |
1 files 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, }; |