Temporarily disable the hang monitor on Mac because it is probably triggering false positives, bug 705154, r=gavin

This commit is contained in:
Benjamin Smedberg 2011-11-25 22:48:46 -05:00
parent 525673815e
commit a6b28918d7

View File

@ -1468,11 +1468,16 @@ pref("dom.max_script_run_time", 10);
// Hang monitor timeout after which we kill the browser, in seconds
// (0 is disabled)
// Temporarily disabled on mac due to bug 705154
#ifdef XP_MACOSX
pref("hangmonitor.timeout", 0);
#else
#ifndef DEBUG
pref("hangmonitor.timeout", 30);
#else
pref("hangmonitor.timeout", 0);
#endif
#endif
#ifndef DEBUG
// How long a plugin is allowed to process a synchronous IPC message