OLD | NEW |
| (Empty) |
1 This test verifies that the functions of the Date prototype object are not gener
ic, as documented in ECMA-262 rev3 section 15.9.5 Properties of the Date Prototy
pe Object. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS o.__proto__.toString() threw exception TypeError: Type error. | |
7 PASS o.__proto__.toDateString() threw exception TypeError: Type error. | |
8 PASS o.__proto__.toTimeString() threw exception TypeError: Type error. | |
9 PASS o.__proto__.toGMTString() threw exception TypeError: Type error. | |
10 PASS o.__proto__.toUTCString() threw exception TypeError: Type error. | |
11 PASS o.__proto__.toLocaleString() threw exception TypeError: Type error. | |
12 PASS o.__proto__.toLocaleDateString() threw exception TypeError: Type error. | |
13 PASS o.__proto__.toLocaleTimeString() threw exception TypeError: Type error. | |
14 PASS o.__proto__.getTime() threw exception TypeError: Type error. | |
15 PASS o.__proto__.getYear() threw exception TypeError: Type error. | |
16 PASS o.__proto__.getFullYear() threw exception TypeError: Type error. | |
17 PASS o.__proto__.getMonth() threw exception TypeError: Type error. | |
18 PASS o.__proto__.getDate() threw exception TypeError: Type error. | |
19 PASS o.__proto__.getDay() threw exception TypeError: Type error. | |
20 PASS o.__proto__.getHours() threw exception TypeError: Type error. | |
21 PASS o.__proto__.getMinutes() threw exception TypeError: Type error. | |
22 PASS o.__proto__.getSeconds() threw exception TypeError: Type error. | |
23 PASS o.__proto__.getMilliseconds() threw exception TypeError: Type error. | |
24 PASS o.__proto__.getTimezoneOffset() threw exception TypeError: Type error. | |
25 PASS o.__proto__.setTime() threw exception TypeError: Type error. | |
26 PASS o.__proto__.setMilliseconds() threw exception TypeError: Type error. | |
27 PASS o.__proto__.setSeconds() threw exception TypeError: Type error. | |
28 PASS o.__proto__.setMinutes() threw exception TypeError: Type error. | |
29 PASS o.__proto__.setHours() threw exception TypeError: Type error. | |
30 PASS o.__proto__.setDate() threw exception TypeError: Type error. | |
31 PASS o.__proto__.setMonth() threw exception TypeError: Type error. | |
32 PASS o.__proto__.setFullYear() threw exception TypeError: Type error. | |
33 PASS o.__proto__.setYear() threw exception TypeError: Type error. | |
34 PASS successfullyParsed is true | |
35 | |
36 TEST COMPLETE | |
37 | |
OLD | NEW |