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

so we now have a instance of the Date object with at least a working getTime() and setTime() method ;)

before posting the hack we tried it within this loop

for (var i=0;i<100000; i++)
{
  var _d = chromePing(new Date());
  _d.setTime(_d.getTime());
}

and it worked out fine. now i understand why ;)
thanks for the feedback

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

Reply via email to