test/script/basic/JDK-8013337.js.EXPECTED

Fri, 31 Oct 2014 20:19:49 +0100

author
hannesw
date
Fri, 31 Oct 2014 20:19:49 +0100
changeset 1076
73ca7a752ba1
parent 0
b1a7da25b547
permissions
-rw-r--r--

8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey

     1 new Date(NaN).setFullYear(NaN) = NaN
     2 new Date(0).setYear(70) = 0
     3 new Date(0).setYear(NaN) = NaN
     4 new Date(NaN).setYear(70) = -19800000
     5 new Date(NaN).getTimezoneOffset() = NaN
     6 Date.prototype.setMilliseconds calls valueOf on arg
     7 Date.prototype.setUTCMilliseconds calls valueOf on arg
     8 Date.prototype.setSeconds calls valueOf on arg
     9 Date.prototype.setUTCSeconds calls valueOf on arg
    10 Date.prototype.setMinutes calls valueOf on arg
    11 Date.prototype.setUTCMinutes calls valueOf on arg
    12 Date.prototype.setHours calls valueOf on arg
    13 Date.prototype.setUTCHours calls valueOf on arg
    14 Date.prototype.setDate calls valueOf on arg
    15 Date.prototype.setUTCDate calls valueOf on arg
    16 Date.prototype.setMonth calls valueOf on arg
    17 Date.prototype.setUTCMonth calls valueOf on arg

mercurial