Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/js/date-proto-generic-invocation-expected.txt

Issue 1815833002: Rebaseline, fix, or remove various tests dealing with V8 behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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. 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 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 FAIL o.__proto__.toString() should throw TypeError: Type error. Threw exception TypeError: this is not a Date object.. 6 PASS o.__proto__.toString() threw exception TypeError: Method Date.prototype.toS tring called on incompatible receiver [object Object].
7 FAIL o.__proto__.toDateString() should throw TypeError: Type error. Threw except ion TypeError: this is not a Date object.. 7 PASS o.__proto__.toDateString() threw exception TypeError: Method Date.prototype .toDateString called on incompatible receiver [object Object].
8 FAIL o.__proto__.toTimeString() should throw TypeError: Type error. Threw except ion TypeError: this is not a Date object.. 8 PASS o.__proto__.toTimeString() threw exception TypeError: Method Date.prototype .toTimeString called on incompatible receiver [object Object].
9 FAIL o.__proto__.toGMTString() should throw TypeError: Type error. Threw excepti on TypeError: this is not a Date object.. 9 PASS o.__proto__.toGMTString() threw exception TypeError: Method Date.prototype. toUTCString called on incompatible receiver [object Object].
10 FAIL o.__proto__.toUTCString() should throw TypeError: Type error. Threw excepti on TypeError: this is not a Date object.. 10 PASS o.__proto__.toUTCString() threw exception TypeError: Method Date.prototype. toUTCString called on incompatible receiver [object Object].
11 FAIL o.__proto__.toLocaleString() should throw TypeError: Type error. Threw exce ption TypeError: Method invoked on an object that is not Date.. 11 PASS o.__proto__.toLocaleString() threw exception TypeError: Method invoked on a n object that is not Date..
12 FAIL o.__proto__.toLocaleDateString() should throw TypeError: Type error. Threw exception TypeError: Method invoked on an object that is not Date.. 12 PASS o.__proto__.toLocaleDateString() threw exception TypeError: Method invoked on an object that is not Date..
13 FAIL o.__proto__.toLocaleTimeString() should throw TypeError: Type error. Threw exception TypeError: Method invoked on an object that is not Date.. 13 PASS o.__proto__.toLocaleTimeString() threw exception TypeError: Method invoked on an object that is not Date..
14 FAIL o.__proto__.getTime() should throw TypeError: Type error. Threw exception T ypeError: this is not a Date object.. 14 PASS o.__proto__.getTime() threw exception TypeError: this is not a Date object. .
15 FAIL o.__proto__.getYear() should throw TypeError: Type error. Threw exception T ypeError: this is not a Date object.. 15 PASS o.__proto__.getYear() threw exception TypeError: Method Date.prototype.getY ear called on incompatible receiver [object Object].
16 FAIL o.__proto__.getFullYear() should throw TypeError: Type error. Threw excepti on TypeError: this is not a Date object.. 16 PASS o.__proto__.getFullYear() threw exception TypeError: this is not a Date obj ect..
17 FAIL o.__proto__.getMonth() should throw TypeError: Type error. Threw exception TypeError: this is not a Date object.. 17 PASS o.__proto__.getMonth() threw exception TypeError: this is not a Date object ..
18 FAIL o.__proto__.getDate() should throw TypeError: Type error. Threw exception T ypeError: this is not a Date object.. 18 PASS o.__proto__.getDate() threw exception TypeError: this is not a Date object. .
19 FAIL o.__proto__.getDay() should throw TypeError: Type error. Threw exception Ty peError: this is not a Date object.. 19 PASS o.__proto__.getDay() threw exception TypeError: this is not a Date object..
20 FAIL o.__proto__.getHours() should throw TypeError: Type error. Threw exception TypeError: this is not a Date object.. 20 PASS o.__proto__.getHours() threw exception TypeError: this is not a Date object ..
21 FAIL o.__proto__.getMinutes() should throw TypeError: Type error. Threw exceptio n TypeError: this is not a Date object.. 21 PASS o.__proto__.getMinutes() threw exception TypeError: this is not a Date obje ct..
22 FAIL o.__proto__.getSeconds() should throw TypeError: Type error. Threw exceptio n TypeError: this is not a Date object.. 22 PASS o.__proto__.getSeconds() threw exception TypeError: this is not a Date obje ct..
23 FAIL o.__proto__.getMilliseconds() should throw TypeError: Type error. Threw exc eption TypeError: this is not a Date object.. 23 PASS o.__proto__.getMilliseconds() threw exception TypeError: this is not a Date object..
24 FAIL o.__proto__.getTimezoneOffset() should throw TypeError: Type error. Threw e xception TypeError: this is not a Date object.. 24 PASS o.__proto__.getTimezoneOffset() threw exception TypeError: this is not a Da te object..
25 FAIL o.__proto__.setTime() should throw TypeError: Type error. Threw exception T ypeError: this is not a Date object.. 25 PASS o.__proto__.setTime() threw exception TypeError: Method Date.prototype.setT ime called on incompatible receiver [object Object].
26 FAIL o.__proto__.setMilliseconds() should throw TypeError: Type error. Threw exc eption TypeError: this is not a Date object.. 26 PASS o.__proto__.setMilliseconds() threw exception TypeError: Method Date.protot ype.setMilliseconds called on incompatible receiver [object Object].
27 FAIL o.__proto__.setSeconds() should throw TypeError: Type error. Threw exceptio n TypeError: this is not a Date object.. 27 PASS o.__proto__.setSeconds() threw exception TypeError: Method Date.prototype.s etSeconds called on incompatible receiver [object Object].
28 FAIL o.__proto__.setMinutes() should throw TypeError: Type error. Threw exceptio n TypeError: this is not a Date object.. 28 PASS o.__proto__.setMinutes() threw exception TypeError: Method Date.prototype.s etMinutes called on incompatible receiver [object Object].
29 FAIL o.__proto__.setHours() should throw TypeError: Type error. Threw exception TypeError: this is not a Date object.. 29 PASS o.__proto__.setHours() threw exception TypeError: Method Date.prototype.set Hours called on incompatible receiver [object Object].
30 FAIL o.__proto__.setDate() should throw TypeError: Type error. Threw exception T ypeError: this is not a Date object.. 30 PASS o.__proto__.setDate() threw exception TypeError: Method Date.prototype.setD ate called on incompatible receiver [object Object].
31 FAIL o.__proto__.setMonth() should throw TypeError: Type error. Threw exception TypeError: this is not a Date object.. 31 PASS o.__proto__.setMonth() threw exception TypeError: Method Date.prototype.set Month called on incompatible receiver [object Object].
32 FAIL o.__proto__.setFullYear() should throw TypeError: Type error. Threw excepti on TypeError: this is not a Date object.. 32 PASS o.__proto__.setFullYear() threw exception TypeError: Method Date.prototype. setFullYear called on incompatible receiver [object Object].
33 FAIL o.__proto__.setYear() should throw TypeError: Type error. Threw exception T ypeError: this is not a Date object.. 33 PASS o.__proto__.setYear() threw exception TypeError: Method Date.prototype.setY ear called on incompatible receiver [object Object].
34 PASS successfullyParsed is true 34 PASS successfullyParsed is true
35 35
36 TEST COMPLETE 36 TEST COMPLETE
37 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698