Comment #11 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

The problem seems intermittent when running against the same code. I put a debugger statement in line 1051 of YUI 2.9.0 calendar.js and looked at the call stack. This appears to be happening when executing the clearTime method within the YUI widget DateMath object. See attached screen shots showing the call stack and variables. It appears that the date object, which look properly formatted to me, is considered an "Invalid Date" in the __proto__

Hope this helps!

Attachments:
        chrome-yui-calendar-date-type-bug-detail.png  55.8 KB

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

Reply via email to