Bug 1456602 - Enable tab warming for Windows and Linux on all channels. r?florian
MozReview-Commit-ID: JZfslRZc19B
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1527,17 +1527,26 @@ pref("privacy.userContext.longPressBehav
pref("privacy.userContext.extension", "");
// Start the browser in e10s mode
pref("browser.tabs.remote.autostart", true);
pref("browser.tabs.remote.desktopbehavior", true);
// For speculatively warming up tabs to improve perceived
// performance while using the async tab switcher.
-#if defined(NIGHTLY_BUILD)
+//
+// This feature is enabled by default on Windows and Linux
+// on all channels.
+//
+// This feature is enabled on macOS only on the Nightly channel
+// until bug 1453080 is fixed.
+//
+#if defined(XP_LINUX) || defined(XP_WIN)
+pref("browser.tabs.remote.warmup.enabled", true);
+#elif defined(NIGHTLY_BUILD) && defined(XP_MACOSX)
pref("browser.tabs.remote.warmup.enabled", true);
#else
pref("browser.tabs.remote.warmup.enabled", false);
#endif
pref("browser.tabs.remote.warmup.maxTabs", 3);
pref("browser.tabs.remote.warmup.unloadDelayMs", 2000);