Bug 1276720 - Add esr to checkCompatibility list; r=Gijs
authorRail Aliiev <rail@mozilla.com>
Mon, 30 May 2016 14:56:21 -0400
changeset 338601 09d0d424f914d064e30071fd85fc890e482fc79c
parent 338600 0443ae0763bb88d4f6242f6afa2ae74f18b49927
child 338602 27252da65bbf8eba420e4460ba6b78851c55aa70
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1276720
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1276720 - Add esr to checkCompatibility list; r=Gijs MozReview-Commit-ID: HmqBZ3OXfUY
toolkit/mozapps/extensions/test/browser/head.js
--- a/toolkit/mozapps/extensions/test/browser/head.js
+++ b/toolkit/mozapps/extensions/test/browser/head.js
@@ -47,17 +47,18 @@ const PREF_STRICT_COMPAT = "extensions.s
 var PREF_CHECK_COMPATIBILITY;
 (function() {
   var channel = "default";
   try {
     channel = Services.prefs.getCharPref("app.update.channel");
   } catch (e) { }
   if (channel != "aurora" &&
     channel != "beta" &&
-    channel != "release") {
+    channel != "release" &&
+    channel != "esr") {
     var version = "nightly";
   } else {
     version = Services.appinfo.version.replace(/^([^\.]+\.[0-9]+[a-z]*).*/gi, "$1");
   }
   PREF_CHECK_COMPATIBILITY = "extensions.checkCompatibility." + version;
 })();
 
 var gPendingTests = [];