Chromium Code Reviews| Index: test/mjsunit/date.js |
| =================================================================== |
| --- test/mjsunit/date.js (revision 5011) |
| +++ test/mjsunit/date.js (working copy) |
| @@ -154,7 +154,12 @@ |
| testToLocaleTimeString(); |
| +// Test that -0 is treated correctly in MakeDay. |
| +var d = new Date(); |
| +assertDoesNotThrow("d.setDate(-0)"); |
| +assertDoesNotThrow("new Date(-0, -0, -0, -0, -0, -0. -0)"); |
|
Erik Corry
2010/07/02 19:59:47
Perhaps we should also pass 0x40000000 and -0x4000
Mads Ager (chromium)
2010/07/02 20:07:07
Done.
|
| + |
| // Modified test from WebKit |
| // LayoutTests/fast/js/script-tests/date-utc-timeclip.js: |