[whatwg] DOMTimeStamp binding

On Feb 11, 2009, at 9:38 AM, Kartikaya Gupta wrote:

> DOM 3 Core says this about DOMTimeStamp:
>
>> For Java, DOMTimeStamp is bound to the long type. For ECMAScript,  
>> DOMTimeStamp
>> is bound to the Date type because the range of the integer type is  
>> too small.
>
> However, when I do this:
>
>> var e = document.createEvent('Events');
>> alert( typeof e.timeStamp );
>
> I get "number" in Opera and Firefox, and "object" in Webkit.

I get "number" in WebKit.

     -- Darin

Received on Wednesday, 11 February 2009 10:06:14 UTC