From 4686be40b280142bb372d16e91b60e96e4c3bd34 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 17 Dec 2017 03:08:49 +0100 Subject: Be less up-tight about script timeouts. Especially some chrome scripts need ample time, which is causing issues with background scripts firing when the browser is idle. --- modules/libpref/init/all.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 3f21e161f..d91ac0c8b 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2720,8 +2720,8 @@ pref("editor.resizing.preserve_ratio", true); pref("editor.positioning.offset", 0); pref("dom.use_watchdog", true); -pref("dom.max_chrome_script_run_time", 20); -pref("dom.max_script_run_time", 10); +pref("dom.max_chrome_script_run_time", 90); +pref("dom.max_script_run_time", 20); // Stop all scripts in a compartment when the "stop script" dialog is used. pref("dom.global_stop_script", true); -- cgit v1.2.3