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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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