Fix error handling in Date.prototype.toISOString.
This fixes Date.prototyoe.toISOString to throw a RangeError exception for invalid time values. It also includes a fix to removes the arbitrary (and completely bogus) range limit on the date value during construction of a Date object. Note that we still have bogus range limits on the year and month values. R=lrn@chromium.org BUG=v8:1792 TEST=mjsunit/date,test262/15.9.5.43-0-* Review URL: http://codereview.chromium.org/8392036 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9829 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment