[whatwg] Timeouts and monotonic vs clock time

On Sat, 8 Jan 2011, And Clover wrote:
> On Fri, 2011-01-07 at 18:03 -0500, Glenn Maynard wrote:
> > 
> > I'm surprised if browsers don't make use of [monotonic time 
> > interfaces].
> 
> Summary: typically they do, but there are problems. HTML5 specifies the 
> most sensible behaviour, though even so there remains a bit of a gap for 
> web applications, in that scripts can't themselves read a monotonic 
> timer. They can only get a monotonic interval that might be 
> interrupted/inaccurate for a variety of reasons, and the clock time, 
> which might get changed.

The Web Perf working group at the W3C is apparently working on such an API 
at the moment, so I'm going to wait to see what happens with that.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 2 May 2011 16:46:12 UTC