[whatwg] DOMTimeStamp binding
Darin Adler
darin at apple.com
Wed Feb 11 10:06:14 PST 2009
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
More information about the whatwg
mailing list