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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2-expected.txt

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: fix rebase Created 3 years, 11 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 CONSOLE MESSAGE: line 11: [object Map Iterator] 1 CONSOLE MESSAGE: line 11: [object Map Iterator]
2 CONSOLE MESSAGE: line 12: [object Map Iterator] 2 CONSOLE MESSAGE: line 12: [object Map Iterator]
3 CONSOLE MESSAGE: line 11: [object Map Iterator] 3 CONSOLE MESSAGE: line 11: [object Map Iterator]
4 CONSOLE MESSAGE: line 12: [object Map Iterator] 4 CONSOLE MESSAGE: line 12: [object Map Iterator]
5 CONSOLE MESSAGE: line 11: [object Map Iterator] 5 CONSOLE MESSAGE: line 11: [object Map Iterator]
6 CONSOLE MESSAGE: line 12: [object Map Iterator] 6 CONSOLE MESSAGE: line 12: [object Map Iterator]
7 CONSOLE MESSAGE: line 11: [object Set Iterator] 7 CONSOLE MESSAGE: line 11: [object Set Iterator]
8 CONSOLE MESSAGE: line 12: [object Set Iterator] 8 CONSOLE MESSAGE: line 12: [object Set Iterator]
9 CONSOLE MESSAGE: line 11: [object Set Iterator] 9 CONSOLE MESSAGE: line 11: [object Set Iterator]
10 CONSOLE MESSAGE: line 12: [object Set Iterator] 10 CONSOLE MESSAGE: line 12: [object Set Iterator]
11 CONSOLE MESSAGE: line 11: [object Set Iterator] 11 CONSOLE MESSAGE: line 11: [object Set Iterator]
12 CONSOLE MESSAGE: line 12: [object Set Iterator] 12 CONSOLE MESSAGE: line 12: [object Set Iterator]
13 CONSOLE MESSAGE: line 11: [object Map Iterator] 13 CONSOLE MESSAGE: line 11: [object Map Iterator]
14 CONSOLE MESSAGE: line 12: [object Map Iterator] 14 CONSOLE MESSAGE: line 12: [object Map Iterator]
15 CONSOLE MESSAGE: line 11: [object Set Iterator] 15 CONSOLE MESSAGE: line 11: [object Set Iterator]
16 CONSOLE MESSAGE: line 12: [object Set Iterator] 16 CONSOLE MESSAGE: line 12: [object Set Iterator]
17 Tests that console properly displays information about ES6 features. 17 Tests that console properly displays information about ES6 features.
18 18
19 console-format-es6-2.html:11 MapIterator {41, Object {foo: 1}} 19 console-format-es6-2.html:11 MapIterator {41, Object {foo: 1}}
20 console-format-es6-2.html:12 [MapIterator] 20 console-format-es6-2.html:12 [MapIterator]
21 globals[0] 21 globals[0]
22 MapIterator {41, Object {foo: 1}} 22 MapIterator {41, Object {foo: 1}}
23 console-format-es6-2.html:11 MapIterator {42, Object {foo: 2}} 23 console-format-es6-2.html:11 MapIterator {42, Object {foo: 2}}
24 console-format-es6-2.html:12 [MapIterator] 24 console-format-es6-2.html:12 [MapIterator]
25 globals[1] 25 globals[1]
26 MapIterator {42, Object {foo: 2}} 26 MapIterator {42, Object {foo: 2}}
27 console-format-es6-2.html:11 MapIterator {[41, 42], [Object, Object]} 27 console-format-es6-2.html:11 MapIterator {(2) [41, 42], (2) [Object, Object]}
dgozman 2017/01/13 02:55:41 This looks strange, probably because we have a spa
luoe 2017/01/13 23:20:12 For this experiment, I propose this output: MapIte
28 console-format-es6-2.html:12 [MapIterator] 28 console-format-es6-2.html:12 [MapIterator]
29 globals[2] 29 globals[2]
30 MapIterator {[41, 42], [Object, Object]} 30 MapIterator {(2) [41, 42], (2) [Object, Object]}
31 console-format-es6-2.html:11 SetIterator {41, Object {foo: 1}} 31 console-format-es6-2.html:11 SetIterator {41, Object {foo: 1}}
32 console-format-es6-2.html:12 [SetIterator] 32 console-format-es6-2.html:12 [SetIterator]
33 globals[3] 33 globals[3]
34 SetIterator {41, Object {foo: 1}} 34 SetIterator {41, Object {foo: 1}}
35 console-format-es6-2.html:11 SetIterator {41, Object {foo: 1}} 35 console-format-es6-2.html:11 SetIterator {41, Object {foo: 1}}
36 console-format-es6-2.html:12 [SetIterator] 36 console-format-es6-2.html:12 [SetIterator]
37 globals[4] 37 globals[4]
38 SetIterator {41, Object {foo: 1}} 38 SetIterator {41, Object {foo: 1}}
39 console-format-es6-2.html:11 SetIterator {[41, 41], [Object, Object]} 39 console-format-es6-2.html:11 SetIterator {(2) [41, 41], (2) [Object, Object]}
40 console-format-es6-2.html:12 [SetIterator] 40 console-format-es6-2.html:12 [SetIterator]
41 globals[5] 41 globals[5]
42 SetIterator {[41, 41], [Object, Object]} 42 SetIterator {(2) [41, 41], (2) [Object, Object]}
43 console-format-es6-2.html:11 MapIterator {Object {foo: 2}} 43 console-format-es6-2.html:11 MapIterator {Object {foo: 2}}
44 console-format-es6-2.html:12 [MapIterator] 44 console-format-es6-2.html:12 [MapIterator]
45 globals[6] 45 globals[6]
46 MapIterator {Object {foo: 2}} 46 MapIterator {Object {foo: 2}}
47 console-format-es6-2.html:11 SetIterator {Object {foo: 1}} 47 console-format-es6-2.html:11 SetIterator {Object {foo: 1}}
48 console-format-es6-2.html:12 [SetIterator] 48 console-format-es6-2.html:12 [SetIterator]
49 globals[7] 49 globals[7]
50 SetIterator {Object {foo: 1}} 50 SetIterator {Object {foo: 1}}
51 Expanded all messages 51 Expanded all messages
52 console-format-es6-2.html:11 MapIterator 52 console-format-es6-2.html:11 MapIterator
53 __proto__: Map Iterator 53 __proto__: Map Iterator
54 [[IteratorHasMore]]: true 54 [[IteratorHasMore]]: true
55 [[IteratorIndex]]: 0 55 [[IteratorIndex]]: 0
56 [[IteratorKind]]: "keys" 56 [[IteratorKind]]: "keys"
57 [[Entries]]: Array(2) 57 [[Entries]]: Array(2)
58 0: 41 58 0: 41 {value: 41}
59 1: Object 59 1: Object {value: Object}
60 length: 2 60 length: 2
61 console-format-es6-2.html:12 Array(1) 61 console-format-es6-2.html:12 Array(1)
62 0: MapIterator 62 0: MapIterator {41, Object {foo: 1}}
63 length: 1 63 length: 1
64 __proto__: Array(0) 64 __proto__: Array(0)
65 globals[0] 65 globals[0]
66 MapIterator 66 MapIterator
67 __proto__: Map Iterator 67 __proto__: Map Iterator
68 [[IteratorHasMore]]: true 68 [[IteratorHasMore]]: true
69 [[IteratorIndex]]: 0 69 [[IteratorIndex]]: 0
70 [[IteratorKind]]: "keys" 70 [[IteratorKind]]: "keys"
71 [[Entries]]: Array(2) 71 [[Entries]]: Array(2)
72 0: 41 72 0: 41 {value: 41}
73 1: Object 73 1: Object {value: Object}
74 length: 2 74 length: 2
75 console-format-es6-2.html:11 MapIterator 75 console-format-es6-2.html:11 MapIterator
76 __proto__: Map Iterator 76 __proto__: Map Iterator
77 [[IteratorHasMore]]: true 77 [[IteratorHasMore]]: true
78 [[IteratorIndex]]: 0 78 [[IteratorIndex]]: 0
79 [[IteratorKind]]: "values" 79 [[IteratorKind]]: "values"
80 [[Entries]]: Array(2) 80 [[Entries]]: Array(2)
81 0: 42 81 0: 42 {value: 42}
82 1: Object 82 1: Object {value: Object}
83 length: 2 83 length: 2
84 console-format-es6-2.html:12 Array(1) 84 console-format-es6-2.html:12 Array(1)
85 0: MapIterator 85 0: MapIterator {42, Object {foo: 2}}
86 length: 1 86 length: 1
87 __proto__: Array(0) 87 __proto__: Array(0)
88 globals[1] 88 globals[1]
89 MapIterator 89 MapIterator
90 __proto__: Map Iterator 90 __proto__: Map Iterator
91 [[IteratorHasMore]]: true 91 [[IteratorHasMore]]: true
92 [[IteratorIndex]]: 0 92 [[IteratorIndex]]: 0
93 [[IteratorKind]]: "values" 93 [[IteratorKind]]: "values"
94 [[Entries]]: Array(2) 94 [[Entries]]: Array(2)
95 0: 42 95 0: 42 {value: 42}
96 1: Object 96 1: Object {value: Object}
97 length: 2 97 length: 2
98 console-format-es6-2.html:11 MapIterator 98 console-format-es6-2.html:11 MapIterator
99 __proto__: Map Iterator 99 __proto__: Map Iterator
100 [[IteratorHasMore]]: true 100 [[IteratorHasMore]]: true
101 [[IteratorIndex]]: 0 101 [[IteratorIndex]]: 0
102 [[IteratorKind]]: "entries" 102 [[IteratorKind]]: "entries"
103 [[Entries]]: Array(2) 103 [[Entries]]: Array(2)
104 0: Array(2) 104 0: Array(2) {value: Array(2)}
105 1: Array(2) 105 1: Array(2) {value: Array(2)}
106 length: 2 106 length: 2
107 console-format-es6-2.html:12 Array(1) 107 console-format-es6-2.html:12 Array(1)
108 0: MapIterator 108 0: MapIterator {(2) [41, 42], (2) [Object, Object]}
109 length: 1 109 length: 1
110 __proto__: Array(0) 110 __proto__: Array(0)
111 globals[2] 111 globals[2]
112 MapIterator 112 MapIterator
113 __proto__: Map Iterator 113 __proto__: Map Iterator
114 [[IteratorHasMore]]: true 114 [[IteratorHasMore]]: true
115 [[IteratorIndex]]: 0 115 [[IteratorIndex]]: 0
116 [[IteratorKind]]: "entries" 116 [[IteratorKind]]: "entries"
117 [[Entries]]: Array(2) 117 [[Entries]]: Array(2)
118 0: Array(2) 118 0: Array(2) {value: Array(2)}
119 1: Array(2) 119 1: Array(2) {value: Array(2)}
120 length: 2 120 length: 2
121 console-format-es6-2.html:11 SetIterator 121 console-format-es6-2.html:11 SetIterator
122 __proto__: Set Iterator 122 __proto__: Set Iterator
123 [[IteratorHasMore]]: true 123 [[IteratorHasMore]]: true
124 [[IteratorIndex]]: 0 124 [[IteratorIndex]]: 0
125 [[IteratorKind]]: "values" 125 [[IteratorKind]]: "values"
126 [[Entries]]: Array(2) 126 [[Entries]]: Array(2)
127 0: 41 127 0: 41 {value: 41}
128 1: Object 128 1: Object {value: Object}
129 length: 2 129 length: 2
130 console-format-es6-2.html:12 Array(1) 130 console-format-es6-2.html:12 Array(1)
131 0: SetIterator 131 0: SetIterator {41, Object {foo: 1}}
132 length: 1 132 length: 1
133 __proto__: Array(0) 133 __proto__: Array(0)
134 globals[3] 134 globals[3]
135 SetIterator 135 SetIterator
136 __proto__: Set Iterator 136 __proto__: Set Iterator
137 [[IteratorHasMore]]: true 137 [[IteratorHasMore]]: true
138 [[IteratorIndex]]: 0 138 [[IteratorIndex]]: 0
139 [[IteratorKind]]: "values" 139 [[IteratorKind]]: "values"
140 [[Entries]]: Array(2) 140 [[Entries]]: Array(2)
141 0: 41 141 0: 41 {value: 41}
142 1: Object 142 1: Object {value: Object}
143 length: 2 143 length: 2
144 console-format-es6-2.html:11 SetIterator 144 console-format-es6-2.html:11 SetIterator
145 __proto__: Set Iterator 145 __proto__: Set Iterator
146 [[IteratorHasMore]]: true 146 [[IteratorHasMore]]: true
147 [[IteratorIndex]]: 0 147 [[IteratorIndex]]: 0
148 [[IteratorKind]]: "values" 148 [[IteratorKind]]: "values"
149 [[Entries]]: Array(2) 149 [[Entries]]: Array(2)
150 0: 41 150 0: 41 {value: 41}
151 1: Object 151 1: Object {value: Object}
152 length: 2 152 length: 2
153 console-format-es6-2.html:12 Array(1) 153 console-format-es6-2.html:12 Array(1)
154 0: SetIterator 154 0: SetIterator {41, Object {foo: 1}}
155 length: 1 155 length: 1
156 __proto__: Array(0) 156 __proto__: Array(0)
157 globals[4] 157 globals[4]
158 SetIterator 158 SetIterator
159 __proto__: Set Iterator 159 __proto__: Set Iterator
160 [[IteratorHasMore]]: true 160 [[IteratorHasMore]]: true
161 [[IteratorIndex]]: 0 161 [[IteratorIndex]]: 0
162 [[IteratorKind]]: "values" 162 [[IteratorKind]]: "values"
163 [[Entries]]: Array(2) 163 [[Entries]]: Array(2)
164 0: 41 164 0: 41 {value: 41}
165 1: Object 165 1: Object {value: Object}
166 length: 2 166 length: 2
167 console-format-es6-2.html:11 SetIterator 167 console-format-es6-2.html:11 SetIterator
168 __proto__: Set Iterator 168 __proto__: Set Iterator
169 [[IteratorHasMore]]: true 169 [[IteratorHasMore]]: true
170 [[IteratorIndex]]: 0 170 [[IteratorIndex]]: 0
171 [[IteratorKind]]: "entries" 171 [[IteratorKind]]: "entries"
172 [[Entries]]: Array(2) 172 [[Entries]]: Array(2)
173 0: Array(2) 173 0: Array(2) {value: Array(2)}
174 1: Array(2) 174 1: Array(2) {value: Array(2)}
175 length: 2 175 length: 2
176 console-format-es6-2.html:12 Array(1) 176 console-format-es6-2.html:12 Array(1)
177 0: SetIterator 177 0: SetIterator {(2) [41, 41], (2) [Object, Object]}
178 length: 1 178 length: 1
179 __proto__: Array(0) 179 __proto__: Array(0)
180 globals[5] 180 globals[5]
181 SetIterator 181 SetIterator
182 __proto__: Set Iterator 182 __proto__: Set Iterator
183 [[IteratorHasMore]]: true 183 [[IteratorHasMore]]: true
184 [[IteratorIndex]]: 0 184 [[IteratorIndex]]: 0
185 [[IteratorKind]]: "entries" 185 [[IteratorKind]]: "entries"
186 [[Entries]]: Array(2) 186 [[Entries]]: Array(2)
187 0: Array(2) 187 0: Array(2) {value: Array(2)}
188 1: Array(2) 188 1: Array(2) {value: Array(2)}
189 length: 2 189 length: 2
190 console-format-es6-2.html:11 MapIterator 190 console-format-es6-2.html:11 MapIterator
191 __proto__: Map Iterator 191 __proto__: Map Iterator
192 [[IteratorHasMore]]: true 192 [[IteratorHasMore]]: true
193 [[IteratorIndex]]: 1 193 [[IteratorIndex]]: 1
194 [[IteratorKind]]: "values" 194 [[IteratorKind]]: "values"
195 [[Entries]]: Array(1) 195 [[Entries]]: Array(1)
196 0: Object 196 0: Object {value: Object}
197 length: 1 197 length: 1
198 console-format-es6-2.html:12 Array(1) 198 console-format-es6-2.html:12 Array(1)
199 0: MapIterator 199 0: MapIterator {Object {foo: 2}}
200 length: 1 200 length: 1
201 __proto__: Array(0) 201 __proto__: Array(0)
202 globals[6] 202 globals[6]
203 MapIterator 203 MapIterator
204 __proto__: Map Iterator 204 __proto__: Map Iterator
205 [[IteratorHasMore]]: true 205 [[IteratorHasMore]]: true
206 [[IteratorIndex]]: 1 206 [[IteratorIndex]]: 1
207 [[IteratorKind]]: "values" 207 [[IteratorKind]]: "values"
208 [[Entries]]: Array(1) 208 [[Entries]]: Array(1)
209 0: Object 209 0: Object {value: Object}
210 length: 1 210 length: 1
211 console-format-es6-2.html:11 SetIterator 211 console-format-es6-2.html:11 SetIterator
212 __proto__: Set Iterator 212 __proto__: Set Iterator
213 [[IteratorHasMore]]: true 213 [[IteratorHasMore]]: true
214 [[IteratorIndex]]: 1 214 [[IteratorIndex]]: 1
215 [[IteratorKind]]: "values" 215 [[IteratorKind]]: "values"
216 [[Entries]]: Array(1) 216 [[Entries]]: Array(1)
217 0: Object 217 0: Object {value: Object}
218 length: 1 218 length: 1
219 console-format-es6-2.html:12 Array(1) 219 console-format-es6-2.html:12 Array(1)
220 0: SetIterator 220 0: SetIterator {Object {foo: 1}}
dgozman 2017/01/13 02:55:41 This looks strange as well. Maybe just {foo: 1}?
luoe 2017/01/13 23:20:12 From the proposal in my comment above, I'd like to
221 length: 1 221 length: 1
222 __proto__: Array(0) 222 __proto__: Array(0)
223 globals[7] 223 globals[7]
224 SetIterator 224 SetIterator
225 __proto__: Set Iterator 225 __proto__: Set Iterator
226 [[IteratorHasMore]]: true 226 [[IteratorHasMore]]: true
227 [[IteratorIndex]]: 1 227 [[IteratorIndex]]: 1
228 [[IteratorKind]]: "values" 228 [[IteratorKind]]: "values"
229 [[Entries]]: Array(1) 229 [[Entries]]: Array(1)
230 0: Object 230 0: Object {value: Object}
231 length: 1 231 length: 1
232 232
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698