W3C home > Mailing lists > Public > public-web-perf@w3.org > March 2012

Re: [HighResolutionTime]

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 19 Mar 2012 09:08:24 -0700
To: public-web-perf@w3.org, "Pablo Garaizar Sagarminaga" <garaizar@deusto.es>
Message-ID: <op.wbfdsak064w2qv@annevk-macbookpro.local>
On Fri, 16 Mar 2012 04:32:46 -0700, Pablo Garaizar Sagarminaga  
<garaizar@deusto.es> wrote:
>   I've been following most of the discussions about High Resolution
> Time by email and I find the working draft very neat :-) Congratulations
> for the hard work!
>   However, I would love to have the chance to get a DOMHighResTimeStamp
> not only from the "now" method but also as a property of an ECMAScript
> event, like event.timeStamp. Events' timestamps are also subject to
> system clock skew and other problems mentioned in High Resolution Time
> working draft, and providing access to HRT when triggering events will
> be very helpful to program accurate interactions.
>   I'm not sure if this could be done adding a new property to the
> event interface (e.g., HRTimeStamp) or modifying the typedef of the
> current timeStamp property.

You should probably bring this up on www-dom@w3.org instead.

Note that for events the timeStamp attribute is currently set when the  
event is created, not when it is dispatched. In the past bz shared some  
ideas on how we could potentially improve it, but nothing has been done  
thus far.

Anne van Kesteren
Received on Monday, 19 March 2012 16:09:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:01:11 UTC