Bug 1533698 - Enable tab unloading in low-memory scenarios on beta too r=mconley
authorGabriele Svelto <gsvelto@mozilla.com>
Mon, 11 Mar 2019 08:48:28 +0000
changeset 521323 b1c9e8f9dab7
parent 521322 b9a333944346
child 521324 90de1c90ae69
push id10866
push usernerli@mozilla.com
push dateTue, 12 Mar 2019 18:59:09 +0000
treeherdermozilla-beta@445c24a51727 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1533698
milestone67.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 1533698 - Enable tab unloading in low-memory scenarios on beta too r=mconley Differential Revision: https://phabricator.services.mozilla.com/D22680
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -484,21 +484,21 @@ pref("browser.tabs.newanimations", false
 // Pref to control whether we use separate privileged content processes.
 #if defined(NIGHTLY_BUILD) && !defined(MOZ_ASAN)
 pref("browser.tabs.remote.separatePrivilegedContentProcess", true);
 #endif
 
 // Turn on HTTP response process selection.
 pref("browser.tabs.remote.useHTTPResponseProcessSelection", true);
 
-// Unload tabs on low-memory on nightly.
-#ifdef RELEASE_OR_BETA
+// Unload tabs on low-memory on nightly and beta.
+#ifdef EARLY_BETA_OR_EARLIER
+pref("browser.tabs.unloadOnLowMemory", true);
+#else
 pref("browser.tabs.unloadOnLowMemory", false);
-#else
-pref("browser.tabs.unloadOnLowMemory", true);
 #endif
 
 pref("browser.ctrlTab.recentlyUsedOrder", true);
 
 // By default, do not export HTML at shutdown.
 // If true, at shutdown the bookmarks in your menu and toolbar will
 // be exported as HTML to the bookmarks.html file.
 pref("browser.bookmarks.autoExportHTML",          false);