[Basilisk] ported from PM: Issue #1972 - Disable forcing GC on memory pressure.

This commit is contained in:
roytam1 2024-09-22 21:20:13 +08:00
commit 716b990183

View file

@ -446,6 +446,9 @@ pref("general.warnOnAboutConfig", false);
// Enable unlinking of ghost windows so they can be garbage collected.
pref("browser.ghostbuster.enabled", true);
// Disable GC on memory pressure, avoid incessant recycling when websites
// misbehave. Should also avoid spurious GCs during ghostbusting.
pref("javascript.options.gc_on_memory_pressure", false);
// This is the pref to control the location bar, change this to true to
// force this - this makes the origin of popup windows more obvious to avoid