The ES5.1 specification of Date.prototype.toISOString requires the result to be in the format of a Date Time String, which allows an extension of the four-digit ISO year for years outside 0000..9999. I.e., for negative years or years > 9999, the only valid formats are "+yyyyyy" or "-yyyyyy". The current version outputs dates on the form "10000-01-01T01:01:01.000Z".
Created attachment 101738 [details] Patch
Comment on attachment 101738 [details] Patch r=me
Comment on attachment 101738 [details] Patch Clearing flags on attachment: 101738 Committed r91576: <http://trac.webkit.org/changeset/91576>
All reviewed patches have been landed. Closing bug.
*** Bug 69231 has been marked as a duplicate of this bug. ***