As per the W3 working group standard http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#timers, the default timeout for setTimeout() , setInterval() should be 4ms in DOMTimer but it is currently set to 10ms (s_minDefaultTimerInterval)
Created attachment 106163 [details] Patch to change the default timeout value DOMTimer default value changed from 10ms to 4ms as per the w3 WG http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#timers As the value is a minimum timeout, i think there is no straight forward way to test this case. I made sure all the existing DOMTimer tests are passing.
Comment on attachment 106163 [details] Patch to change the default timeout value It was intentionally left for ports to decide when/if they want to change the minimum interval. Grepping sources, it appears that not all ports chose to change it, so it may not appropriate to change the default at this time. Also, duping to an existing bug.
*** This bug has been marked as a duplicate of bug 61214 ***