[whatwg] DOMTimeStamp binding

Simon Pieters simonp at opera.com
Wed Feb 11 22:03:22 PST 2009


On Wed, 11 Feb 2009 21:14:44 +0100, Kartikaya Gupta <lists.webapps at stakface.com> wrote:

> I updated to Safari 3.2 on Windows (which looks it also has WebKit  
> 525.27.1) and you're right, it is now showing "number" instead of  
> "object". I guess this was changed not too long ago. So then my question  
> is: why was it changed? And seeing as Opera, WebKit, and Gecko are in  
> agreement now to return a number rather than a Date in ECMAScript, will  
> the DOM 3 Core spec be updated? Or will this get rolled into Web DOM  
> Core and/or HTML5?

Right now Web DOM Core says:

   A DOMTimeStamp represents a number of milliseconds. 

      typedef unsigned long long DOMTimeStamp;


...and then refers to WebIDL for what that means to ECMAScript.

-- 
Simon Pieters
Opera Software





More information about the whatwg mailing list