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

Thu, 16 Jan 2014 22:50:53 +0530

author
sundar
date
Thu, 16 Jan 2014 22:50:53 +0530
changeset 759
33a61e7f43e6
parent 0
b1a7da25b547
permissions
-rw-r--r--

8032004: instance property "message" of Error objects should be non-enumerable
Reviewed-by: hannesw, jlaskey

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

mercurial