On 3/19/11 12:24 AM, Mark S. Miller wrote:
Is this 4ms codified in spec language somewhere? I couldn't find it by
casual searching.

http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout step 5 (though note also step 9, which is the part that makes 4ms a minimum delay, not a hard line).

Also note that the 4ms thing only applies to "nested" timeouts.

     actualTimeout = max(requestedTimeout, 4)

This is the rule for nested timeouts, yes.

-Boris

P.S. If one draft spec is preferred over another one, the same text is at http://dev.w3.org/html5/spec/Overview.html#dom-windowtimers-settimeout and at http://www.w3.org/TR/html5/timers.html#dom-windowtimers-settimeout
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to