Comment #2 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
Executing
Date.prototype.MakeisoZDateString = function() {};
var theDate = new window.top.Date();
theDate.setHours(0, 0, 0, 0);
in a javascript shell (http://www.squarefree.com/shell/shell.html) seems to
work just fine on Chrome 16.0.912.77, 17.0.963.46 and 18.0.1025.11. Am I
missing anything?
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev