From b98df4dfa29093c1963fc023e3b900bb5ad0215a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 17 Dec 2017 03:08:49 +0100 Subject: [PATCH] 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(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 3f21e161f7..d91ac0c8bd 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);