Bug 1304874 - Re-enable e10s for russian users.
authorFelipe Gomes <felipc@gmail.com>
Fri, 11 Nov 2016 15:19:19 -0200
changeset 352305 60031ad275cc7ffff4bbc0ba9b75bc6255ef230e
parent 352304 41f0045096469c7245bc376f1e43bebe9768e0da
child 352306 5c299f308a1dc2d30e07a85bc3b9ba9313b2f237
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1304874
milestone52.0a1
Bug 1304874 - Re-enable e10s for russian users. MozReview-Commit-ID: 8weaw3FGZWx
browser/extensions/e10srollout/bootstrap.js
--- a/browser/extensions/e10srollout/bootstrap.js
+++ b/browser/extensions/e10srollout/bootstrap.js
@@ -165,20 +165,10 @@ function optedOut() {
 
 /* If this function returns a non-empty string, it
  * means that this particular user should be temporarily
  * disqualified due to some particular reason.
  * If a user shouldn't be disqualified, then an empty
  * string must be returned.
  */
 function getTemporaryDisqualification() {
-  let applicationLanguage =
-    Cc["@mozilla.org/chrome/chrome-registry;1"]
-      .getService(Ci.nsIXULChromeRegistry)
-      .getSelectedLocale("global")
-      .split("-")[0];
-
-  if (applicationLanguage == "ru") {
-    return "ru";
-  }
-
   return "";
 }