Hi, Some comments on http://www.whatwg.org/specs/web-apps/current-work/multipage/section-timers.html from a collegue: * The specification should put non-zero contraint on the return value of the methods. Scripts use if(handle) to check if something was returned. * 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. * It should mention that the timeout given can't always be honoured exactly (apart from the lower limit), because of clock resolution, CPU load, other JS threads, etc. * It should say whether the arguments... should be passed at the timeout instantiation or in their current state. Consider the following example for instance: baz = 1; setTimeout(foo,10,baz); baz = 5; Kind regards, -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>Received on Monday, 10 March 2008 19:10:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:32:27 GMT