Bug 1837770 - Remove unused browser.tabs.* prefs r=webdriver-reviewers,geckoview-reviewers,owlish,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D180559
This commit is contained in:
Gregory Pappas 2023-06-15 15:45:25 +00:00
parent a33b812dab
commit 03112fe0e9
4 changed files with 0 additions and 26 deletions

View File

@ -14,21 +14,6 @@
pref("toolkit.defaultChromeURI", "chrome://geckoview/content/geckoview.xhtml");
// If a tab has not been active for this long (seconds), then it may be
// turned into a zombie tab to preemptively free up memory. -1 disables time-based
// expiration (but low-memory conditions may still require the tab to be zombified).
pref("browser.tabs.expireTime", 900);
// Disables zombification of background tabs under memory pressure.
// Intended for use in testing, where we don't want the tab running the
// test harness code to be zombified.
pref("browser.tabs.disableBackgroundZombification", false);
// Control whether tab content should try to load from disk cache when network
// is offline.
// Controlled by Switchboard experiment "offline-cache".
pref("browser.tabs.useCache", false);
pref("toolkit.zoomManager.zoomValues", ".2,.3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3,4");
// The default fallback zoom level to render pages at. Set to -1 to fit page; otherwise

View File

@ -145,11 +145,6 @@ const COMMON_PREFERENCES = new Map([
// Do not close the window when the last tab gets closed
["browser.tabs.closeWindowWithLastTab", false],
// Do not allow background tabs to be zombified on Android, otherwise for
// tests that open additional tabs, the test harness tab itself might get
// unloaded
["browser.tabs.disableBackgroundZombification", false],
// Don't unload tabs when available memory is running low
["browser.tabs.unloadOnLowMemory", false],

View File

@ -439,9 +439,6 @@ class FennecInstance(GeckoInstance):
"browser.sessionstore.resume_from_crash": False,
# Disable e10s by default
"browser.tabs.remote.autostart": False,
# Do not allow background tabs to be zombified, otherwise for tests that
# open additional tabs, the test harness tab itself might get unloaded
"browser.tabs.disableBackgroundZombification": True,
}
def __init__(

View File

@ -50,9 +50,6 @@ user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.page", 0); // use about:blank, not browser.startup.homepage
// Don't show a delay when hiding the audio indicator during tests
user_pref("browser.tabs.delayHidingAudioPlayingIconMS", 0);
// Don't allow background tabs to be zombified, otherwise for tests that
// open additional tabs, the test harness tab itself might get unloaded.
user_pref("browser.tabs.disableBackgroundZombification", true);
// Don't use auto-enabled e10s
user_pref("browser.tabs.remote.autostart", false);
// Make sure Translation won't hit the network.