зеркало из https://github.com/mozilla/pjs.git
Bug 490951 - Fix timeout for scripts when running mochitests; r=ted.mielczarek
This commit is contained in:
Родитель
dc110cdaa2
Коммит
384cc7b4c9
|
@ -233,6 +233,7 @@ user_pref("browser.dom.window.dump.enabled", true);
|
|||
user_pref("dom.allow_scripts_to_close_windows", true);
|
||||
user_pref("dom.disable_open_during_load", false);
|
||||
user_pref("dom.max_script_run_time", 0); // no slow script dialogs
|
||||
user_pref("dom.max_chrome_script_run_time", 0);
|
||||
user_pref("signed.applets.codebase_principal_support", true);
|
||||
user_pref("security.warn_submit_insecure", false);
|
||||
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||
|
@ -256,13 +257,6 @@ user_pref("camino.warn_when_closing", false); // Camino-only, harmless to others
|
|||
|
||||
prefs.append(part)
|
||||
|
||||
# Increase the max script run time 10-fold for debug builds
|
||||
if (IS_DEBUG_BUILD):
|
||||
prefs.append("""\
|
||||
user_pref("dom.max_script_run_time", 100);
|
||||
user_pref("dom.max_chrome_script_run_time", 200);
|
||||
""")
|
||||
|
||||
locations = readLocations()
|
||||
|
||||
# Grant God-power to all the privileged servers on which tests run.
|
||||
|
|
Загрузка…
Ссылка в новой задаче