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

Wed, 27 Apr 2016 01:36:41 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:36:41 +0800
changeset 0
b1a7da25b547
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/nashorn/
changeset: 1034:4b9cc65dd24d
tag: jdk8u25-b17

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