Bug 1239520 - Enabled e10s on all configurations except release. r=billm a=sledru
authorFelipe Gomes <felipc@gmail.com>
Thu, 14 Jan 2016 16:37:55 -0200
changeset 310853 3483795585d6afdb7b3686009c62e82b45889c9a
parent 310852 9b4cbc2f9fd62b2e8482801bad4ab2f6707d6493
child 310854 fa70a928f11132bd6d1d94399121ad96ef031426
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm, sledru
bugs1239520
milestone45.0a2
Bug 1239520 - Enabled e10s on all configurations except release. r=billm a=sledru
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -4677,17 +4677,17 @@ mozilla::BrowserTabsRemoteAutostart()
   }
 
 #ifdef E10S_TESTING_ONLY
   bool e10sAllowed = true;
 #else
   // When running tests with 'layers.offmainthreadcomposition.testing.enabled', e10s must be
   // allowed because these tests must be allowed to run remotely.
   // We are also allowing e10s to be enabled on Beta (which doesn't have E10S_TESTING_ONLY defined.
-  bool e10sAllowed = Preferences::GetDefaultCString("app.update.channel").EqualsLiteral("beta") ||
+  bool e10sAllowed = !Preferences::GetDefaultCString("app.update.channel").EqualsLiteral("release") ||
                      gfxPrefs::GetSingleton().LayersOffMainThreadCompositionTestingEnabled();
 #endif
 
   // Disable for VR
   bool disabledForVR = Preferences::GetBool("dom.vr.enabled", false);
 
   if (e10sAllowed && prefEnabled) {
     if (disabledForA11y) {