W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: timeStamp and DOMTimeStamp

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 28 Mar 2006 19:14:40 +1100
To: public-webapi@w3.org
Message-ID: <20060328081440.GA29004@port.mcc.id.au>

Ian Hickson:
> Well I don't really mind what esoteric implementations might do, but, as 
> discussed on today's telecon, for Web browsers we want interoperability.
...
> Time stamps should be of comparable magnitude with comparable deltas 
> across different Web browsers, IMHO. Every difference between browsers 
> introduces a new possibility for a Web page bug. Web authors manage to 
> find plenty of ways to shoot themselves in the foot already, there's no 
> reason for us to give them even more ways.

I think that at least time stamps should be comparable for event objects
created from the one document, possibly all events from the same DOM
implementation.  So I think the text discussing the fact that the epoch
should be the same for a document or DOM implementation should be
included.

In case there are scripts that assume browsers use the Unix epoch, it
could be required that implementations that do have access to the
calendar time make the epoch equal to 1970-01-01T00:00:00Z, but those
that do not can choose their own (consistent) epoch time.

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org
Received on Tuesday, 28 March 2006 08:14:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT