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

Side by Side Diff: LayoutTests/fast/js/constructor-attributes-expected.txt

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/js/const-expected.txt ('k') | LayoutTests/fast/js/cyclic-proto-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This test checks that constructor properties are not enumeratable, but are writa ble deletable.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS (function () { }).prototype.hasOwnProperty('constructor') is true
7 PASS canEnum((function () { }).prototype, 'constructor') is false
8 PASS x = (function () { }).prototype; x.constructor = 4; x.constructor is 4
9 PASS x = (function () { }).prototype; delete x.constructor; x.hasOwnProperty('co nstructor') is false
10 PASS declaredFunction.prototype.hasOwnProperty('constructor') is true
11 PASS canEnum(declaredFunction.prototype, 'constructor') is false
12 PASS x = declaredFunction.prototype; x.constructor = 4; x.constructor is 4
13 PASS x = declaredFunction.prototype; delete x.constructor; x.hasOwnProperty('con structor') is false
14 PASS (new Function).prototype.hasOwnProperty('constructor') is true
15 PASS canEnum((new Function).prototype, 'constructor') is false
16 PASS x = (new Function).prototype; x.constructor = 4; x.constructor is 4
17 PASS x = (new Function).prototype; delete x.constructor; x.hasOwnProperty('const ructor') is false
18 PASS Array.prototype.hasOwnProperty('constructor') is true
19 PASS canEnum(Array.prototype, 'constructor') is false
20 PASS x = Array.prototype; x.constructor = 4; x.constructor is 4
21 PASS x = Array.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false
22 PASS Boolean.prototype.hasOwnProperty('constructor') is true
23 PASS canEnum(Boolean.prototype, 'constructor') is false
24 PASS x = Boolean.prototype; x.constructor = 4; x.constructor is 4
25 PASS x = Boolean.prototype; delete x.constructor; x.hasOwnProperty('constructor' ) is false
26 PASS Date.prototype.hasOwnProperty('constructor') is true
27 PASS canEnum(Date.prototype, 'constructor') is false
28 PASS x = Date.prototype; x.constructor = 4; x.constructor is 4
29 PASS x = Date.prototype; delete x.constructor; x.hasOwnProperty('constructor') i s false
30 PASS Error.prototype.hasOwnProperty('constructor') is true
31 PASS canEnum(Error.prototype, 'constructor') is false
32 PASS x = Error.prototype; x.constructor = 4; x.constructor is 4
33 PASS x = Error.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false
34 PASS EvalError.prototype.hasOwnProperty('constructor') is true
35 PASS canEnum(EvalError.prototype, 'constructor') is false
36 PASS x = EvalError.prototype; x.constructor = 4; x.constructor is 4
37 PASS x = EvalError.prototype; delete x.constructor; x.hasOwnProperty('constructo r') is false
38 PASS Function.prototype.hasOwnProperty('constructor') is true
39 PASS canEnum(Function.prototype, 'constructor') is false
40 PASS x = Function.prototype; x.constructor = 4; x.constructor is 4
41 PASS x = Function.prototype; delete x.constructor; x.hasOwnProperty('constructor ') is false
42 PASS Number.prototype.hasOwnProperty('constructor') is true
43 PASS canEnum(Number.prototype, 'constructor') is false
44 PASS x = Number.prototype; x.constructor = 4; x.constructor is 4
45 PASS x = Number.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false
46 PASS Object.prototype.hasOwnProperty('constructor') is true
47 PASS canEnum(Object.prototype, 'constructor') is false
48 PASS x = Object.prototype; x.constructor = 4; x.constructor is 4
49 PASS x = Object.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false
50 PASS RangeError.prototype.hasOwnProperty('constructor') is true
51 PASS canEnum(RangeError.prototype, 'constructor') is false
52 PASS x = RangeError.prototype; x.constructor = 4; x.constructor is 4
53 PASS x = RangeError.prototype; delete x.constructor; x.hasOwnProperty('construct or') is false
54 PASS ReferenceError.prototype.hasOwnProperty('constructor') is true
55 PASS canEnum(ReferenceError.prototype, 'constructor') is false
56 PASS x = ReferenceError.prototype; x.constructor = 4; x.constructor is 4
57 PASS x = ReferenceError.prototype; delete x.constructor; x.hasOwnProperty('const ructor') is false
58 PASS RegExp.prototype.hasOwnProperty('constructor') is true
59 PASS canEnum(RegExp.prototype, 'constructor') is false
60 PASS x = RegExp.prototype; x.constructor = 4; x.constructor is 4
61 PASS x = RegExp.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false
62 PASS String.prototype.hasOwnProperty('constructor') is true
63 PASS canEnum(String.prototype, 'constructor') is false
64 PASS x = String.prototype; x.constructor = 4; x.constructor is 4
65 PASS x = String.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false
66 PASS SyntaxError.prototype.hasOwnProperty('constructor') is true
67 PASS canEnum(SyntaxError.prototype, 'constructor') is false
68 PASS x = SyntaxError.prototype; x.constructor = 4; x.constructor is 4
69 PASS x = SyntaxError.prototype; delete x.constructor; x.hasOwnProperty('construc tor') is false
70 PASS TypeError.prototype.hasOwnProperty('constructor') is true
71 PASS canEnum(TypeError.prototype, 'constructor') is false
72 PASS x = TypeError.prototype; x.constructor = 4; x.constructor is 4
73 PASS x = TypeError.prototype; delete x.constructor; x.hasOwnProperty('constructo r') is false
74 PASS URIError.prototype.hasOwnProperty('constructor') is true
75 PASS canEnum(URIError.prototype, 'constructor') is false
76 PASS x = URIError.prototype; x.constructor = 4; x.constructor is 4
77 PASS x = URIError.prototype; delete x.constructor; x.hasOwnProperty('constructor ') is false
78 PASS document.createTextNode('').hasOwnProperty('constructor') is true
79 PASS canEnum(document.createTextNode(''), 'constructor') is false
80 FAIL x = document.createTextNode(''); x.constructor = 4; x.constructor should be 4 (of type number). Was [object TextConstructor] (of type object).
81 FAIL x = document.createTextNode(''); delete x.constructor; x.hasOwnProperty('co nstructor') should be false. Was true.
82 PASS successfullyParsed is true
83
84 TEST COMPLETE
85
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/const-expected.txt ('k') | LayoutTests/fast/js/cyclic-proto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698