W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2012

Re: DOMHighResTimeStamps in DOM events, use cases

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 10 Oct 2012 12:31:52 +0200
Message-ID: <CADnb78j77==P0O0F+0d5m5+17KkQ0oRV2BFmz4bZv5-ZSMaDaw@mail.gmail.com>
To: Robert Flack <flackr@chromium.org>
Cc: Pablo Garaizar Sagarminaga <garaizar@deusto.es>, www-dom@w3.org, Boris Zbarsky <bzbarsky@mit.edu>, Jonas Sicking <jonas@sicking.cc>
On Tue, Oct 9, 2012 at 5:03 PM, Robert Flack <flackr@chromium.org> wrote:
> I think we will need a new property. Although I would also prefer changing
> Event.timeStamp to be Performance timestamps, it seems that the only way to
> check if it was safe to compare it with Date.now() or Performance.now()
> would be to check the magnitude of the timestamp. I like Event.systemTime as
> well.

I'm not quite sure I follow. I guess the main problem would be that
you suddenly have a decimal in there which is not what everyone
expects at the moment. Boris, Jonas, opinions? (Context is whether or
not we should have a new attribute on events indicating when the
system dispatched them or if we should just change Event.timeStamp.)

So would Event.systemTime be time since epoch as well? I cannot
actually find an exact definition anywhere in the previous emails and
I'm not sure what
does ;-) (I asked on #webkit, but people were asleep.)

Received on Wednesday, 10 October 2012 10:32:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:01 UTC