W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Re: Comments on Timers

From: David Hyatt <hyatt@apple.com>
Date: Mon, 10 Mar 2008 14:50:19 -0500
To: Anne van Kesteren <annevk@opera.com>
Cc: HTML WG <public-html@w3.org>
Message-id: <C6C5007D-4391-45FE-B5B5-B975DF9DB1AB@apple.com>

On Mar 10, 2008, at 2:10 PM, Anne van Kesteren wrote:

> * It should mention that UAs need to have a lower limit, probably  
> 10ms, for Web compatibility. If that's not feasible it should at  
> least allow a lower limit.

A lower limit is really only necessary if you detect a "nesting"  
situation, where timers are being repeatedly fired from within  
callbacks.  There is no need for a lower limit for single shot  
callbacks for example.  About all I could see the spec saying is that  
timers should be throttled to avoid CPU hogging (perhaps suggesting  
the value of 10ms).

Received on Monday, 10 March 2008 19:50:39 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:27 UTC