Comment #12 on issue 1945 by [email protected]: call SetTime(0,0,0,0) and throws "this is not a Date object." if Date() object has been subclassed
http://code.google.com/p/v8/issues/detail?id=1945

For [email protected], here is an easy way to reproduce it

1. Launch
http://dojotoolkit.org/reference-guide/dijit/form/DateTextBox.html

2. Access any example that shows dijit calendar.

3. A combo box for date selection will show up, a single click usually works out well.

4. But, if for any reason user has double/tripple clicked (in quick succession, believe me this is quite easy to do and for whatever reason users are doing it !) the whole page is broken forever (where Date class become unusable, e.g. returning "this is not a Date object" during every call to setHours
Only way to recover the page is to hit F5.

Also note that the same issue does prop up from time to time without double clicking.
All other browsers (e.g. safari, IE ..) work out fine.
I have to yet check older 16.* version of chrome, it seems some have reported that this issue was not present earlier.


Attachments:
        chromium_dijit.png  51.5 KB

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to