js/src/jit-test/tests/jaeger/recompile/bug659639.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:055bb58c0c25
1 test();
2 function iso(d) { new Date(d).toISOString() }
3 function check(s,millis) { iso(millis); }
4 function dd(year, month, day, hour, minute, second, millis) {
5 return Date.UTC(year, 1, day, hour, minute, second, millis);
6 }
7 function test() {
8 try {
9 check("", 20092353211)
10 check("", 2009)
11 check("", 0)
12 check("", dd(BUGNUMBER, 7, 23, 19, 53, 21, 1))
13 } catch (e) {}
14 }
15 var BUGNUMBER = "10278";
16 test()

mercurial