Comment #23 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
I can reproduce this issue in the Javascript console on Windows 7 32bit,
Chrome 17.0.963.46 every time using this:
var _d = new Date() ; nop(_d).setHours(0,0,0,0);
Note: It only throws the exception if the above code is all on one line.
This does not occur for me on OS X.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev