W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: Proposal: High resolution (and otherwise improved) timer API

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 03 Oct 2008 22:56:32 +0200
To: "Aaron Boodman" <aa@google.com>, "Maciej Stachowiak" <mjs@apple.com>
Cc: "public-webapps@w3.org Group WG" <public-webapps@w3.org>
Message-ID: <op.uigu4ins64w2qv@annevk-t60.oslo.opera.com>

On Fri, 03 Oct 2008 19:43:34 +0200, Aaron Boodman <aa@google.com> wrote:
> To me, fractional milliseconds does not seem weird. On the webkit-dev
> thread, Peter Speck pointed out [1] that the unit of time in web
> development is milliseconds. Dates are in milliseconds, setTimeout
> takes millisecond arguments, etc. So to me, it would be weird to have
> a new timer API that suddenly uses seconds. And I tend to agree with
> Peter that doing so would be a common source of bugs for web
> developers.

FWIW, <video>/<audio> currently uses seconds, though maybe that's a bug in  
the APIs for those elements...


> [1]  
> https://lists.webkit.org/pipermail/webkit-dev/2008-October/005273.html


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 3 October 2008 20:57:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT