Bug 1276720 - Add esr to checkCompatibility list; r=Gijs
authorRail Aliiev <rail@mozilla.com>
Mon, 30 May 2016 14:56:21 -0400
changeset 340614 09d0d424f914d064e30071fd85fc890e482fc79c
parent 340613 0443ae0763bb88d4f6242f6afa2ae74f18b49927
child 340615 27252da65bbf8eba420e4460ba6b78851c55aa70
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [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 = [];