diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index 30fd854a2701..6e406200106f 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -274,7 +274,7 @@ static PRBool gDOMWindowDumpEnabled = PR_FALSE; #endif // The default shortest interval/timeout we permit -#define DEFAULT_MIN_TIMEOUT_VALUE 10 // 10ms +#define DEFAULT_MIN_TIMEOUT_VALUE 4 // 4ms #define DEFAULT_MIN_BACKGROUND_TIMEOUT_VALUE 1000 // 1000ms static PRInt32 gMinTimeoutValue; static PRInt32 gMinBackgroundTimeoutValue; diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js index 26402c0fb230..f13d056f97f3 100644 --- a/modules/libpref/src/init/all.js +++ b/modules/libpref/src/init/all.js @@ -574,7 +574,7 @@ pref("dom.storage.default_quota", 5120); pref("dom.send_after_paint_to_content", false); // Timeout clamp in ms for timeouts we clamp -pref("dom.min_timeout_value", 10); +pref("dom.min_timeout_value", 4); // And for background windows pref("dom.min_background_timeout_value", 1000);