Bug 1545593 - Enable tab unloading in low-memory scenarios unconditionally r=mconley
authorGabriele Svelto <gsvelto@mozilla.com>
Wed, 01 May 2019 20:02:38 +0000
changeset 530978 c2837abe3cd2b81c15071cdc99f5c0d45d294b06
parent 530977 09753a1a153d348d456a0c785fcffeb9a77dd065
child 530979 5c9f52dddd1c8f68ba02bf393ab611752cc86645
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1545593
milestone68.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 1545593 - Enable tab unloading in low-memory scenarios unconditionally r=mconley Differential Revision: https://phabricator.services.mozilla.com/D28146
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -491,22 +491,18 @@ pref("browser.tabs.delayHidingAudioPlayi
 // 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 and beta.
-#ifdef EARLY_BETA_OR_EARLIER
+// Unload tabs when available memory is running low
 pref("browser.tabs.unloadOnLowMemory", true);
-#else
-pref("browser.tabs.unloadOnLowMemory", false);
-#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);