diff options
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r-- | modules/libpref/init/all.js | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index a841bde55..4111ca8a9 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -212,8 +212,8 @@ pref("dom.enable_performance_observer", false); pref("dom.requestIdleCallback.enabled", true); // Enable Intersection Observers -// See WD https://w3c.github.io/IntersectionObserver/ -pref("dom.IntersectionObserver.enabled", false); +// See WD https://www.w3.org/TR/intersection-observer/ +pref("dom.intersectionObserver.enabled", true); // Whether the Gamepad API is enabled pref("dom.gamepad.enabled", true); @@ -956,6 +956,9 @@ pref("toolkit.asyncshutdown.log", false); // Enable deprecation warnings. pref("devtools.errorconsole.deprecation_warnings", true); +// Enable performance warnings. +pref("devtools.errorconsole.performance_warnings", true); + // Disable debugging chrome pref("devtools.chrome.enabled", false); @@ -1288,7 +1291,7 @@ pref("javascript.options.mem.high_water_mark", 128); pref("javascript.options.mem.max", -1); pref("javascript.options.mem.gc_per_zone", true); pref("javascript.options.mem.gc_incremental", true); -pref("javascript.options.mem.gc_incremental_slice_ms", 10); +pref("javascript.options.mem.gc_incremental_slice_ms", 20); pref("javascript.options.mem.gc_generational", true); pref("javascript.options.mem.gc_compacting", true); pref("javascript.options.mem.log", false); @@ -1471,7 +1474,10 @@ pref("network.http.request.max-start-delay", 10); pref("network.http.request.max-attempts", 10); // Headers -pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"); +pref("network.http.accept.default", "*/*"); +pref("network.http.accept.navigation", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"); +pref("network.http.accept.image", "image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5"); +pref("network.http.accept.style", "text/css,*/*;q=0.1"); // Prefs allowing granular control of referers // 0=don't send any, 1=send only on clicks, 2=send on image requests as well @@ -2035,6 +2041,8 @@ pref("network.proxy.autoconfig_url.include_path", false); pref("network.proxy.autoconfig_retry_interval_min", 5); // 5 seconds pref("network.proxy.autoconfig_retry_interval_max", 300); // 5 minutes +// Master switch for HSTS usage (security <-> privacy tradeoff) +pref("network.stricttransportsecurity.enabled", true); // Use the HSTS preload list by default pref("network.stricttransportsecurity.preloadlist", true); @@ -5446,8 +5454,9 @@ pref("dom.storageManager.enabled", true); pref("dom.storageManager.enabled", false); #endif -// When a user cancels this number of authentication dialogs coming from -// a single web page in a row, all following authentication dialogs will -// be blocked (automatically canceled) for that page. The counter resets -// when the page is reloaded. To turn this feature off, just set the limit to 0. -pref("prompts.authentication_dialog_abuse_limit", 3); +// DoS protection for HTTP Auth prompt spawning. +// -1 = completely disable HTTP Auth prompting. (careful!) +// 0 = disable this DoS protection +// >0 = suppress further prompts after the user has canceled the dialog n times +// See application preferences for appropriate defaults. +pref("prompts.authentication_dialog_abuse_limit", 0); |