Comment #34 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
hotfixed it by replacing every
new Date()
with
chromePing(new Date)
function chromePing(_d)
{
try {
_d.setTime(_d.getTime());
} catch (e) {
chromePong(new Date);
}
return _d;
}
function chromePong(_d)
{
try {
_d.setTime(_d.getTime());
} catch (e) {
chromePing(new Date);
}
return _d;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev