0bb2a90a59ae151def943b4728f73ba10f74c71a
[WebKit-https.git] / LayoutTests / inspector / console / console-table-expected.txt
1 CONSOLE MESSAGE: line 3: 
2 CONSOLE MESSAGE: line 3: apple,orange,banana
3 CONSOLE MESSAGE: line 3: [object Object]
4 CONSOLE MESSAGE: line 3: John,Smith,Jane,Doe,Emily,Jones
5 CONSOLE MESSAGE: line 3: [object Object],[object Object],[object Object]
6 CONSOLE MESSAGE: line 3: [object Object],[object Object],[object Object]
7
8 STEP: console.table([])
9 {
10   "_source": "console-api",
11   "_level": "log",
12   "_messageText": "",
13   "_type": "table",
14   "_url": null,
15   "_line": 3,
16   "_column": 14,
17   "_repeatCount": 1,
18   "_parameters": [
19     {
20       "_type": "object",
21       "_subtype": "array",
22       "_objectId": "<filtered>",
23       "_description": "Array",
24       "_hasChildren": true,
25       "_size": 0,
26       "_preview": {
27         "_type": "object",
28         "_subtype": "array",
29         "_description": "Array",
30         "_lossless": true,
31         "_overflow": false,
32         "_size": 0,
33         "_properties": [],
34         "_entries": null
35       }
36     }
37   ],
38   "_stackTrace": "<filtered>",
39   "_request": null
40 }
41
42 STEP: console.table(['apple', 'orange', 'banana'])
43 {
44   "_source": "console-api",
45   "_level": "log",
46   "_messageText": "apple,orange,banana",
47   "_type": "table",
48   "_url": null,
49   "_line": 3,
50   "_column": 14,
51   "_repeatCount": 1,
52   "_parameters": [
53     {
54       "_type": "object",
55       "_subtype": "array",
56       "_objectId": "<filtered>",
57       "_description": "Array",
58       "_hasChildren": true,
59       "_size": 3,
60       "_preview": {
61         "_type": "object",
62         "_subtype": "array",
63         "_description": "Array",
64         "_lossless": true,
65         "_overflow": false,
66         "_size": 3,
67         "_properties": [
68           {
69             "_name": "0",
70             "_type": "string",
71             "_value": "apple"
72           },
73           {
74             "_name": "1",
75             "_type": "string",
76             "_value": "orange"
77           },
78           {
79             "_name": "2",
80             "_type": "string",
81             "_value": "banana"
82           }
83         ],
84         "_entries": null
85       }
86     }
87   ],
88   "_stackTrace": "<filtered>",
89   "_request": null
90 }
91
92 STEP: console.table({firstName: 'John', lastName: 'Smith'})
93 {
94   "_source": "console-api",
95   "_level": "log",
96   "_messageText": "[object Object]",
97   "_type": "table",
98   "_url": null,
99   "_line": 3,
100   "_column": 14,
101   "_repeatCount": 1,
102   "_parameters": [
103     {
104       "_type": "object",
105       "_objectId": "<filtered>",
106       "_description": "Object",
107       "_hasChildren": true,
108       "_preview": {
109         "_type": "object",
110         "_description": "Object",
111         "_lossless": true,
112         "_overflow": false,
113         "_properties": [
114           {
115             "_name": "firstName",
116             "_type": "string",
117             "_value": "John"
118           },
119           {
120             "_name": "lastName",
121             "_type": "string",
122             "_value": "Smith"
123           }
124         ],
125         "_entries": null
126       }
127     }
128   ],
129   "_stackTrace": "<filtered>",
130   "_request": null
131 }
132
133 STEP: console.table([['John', 'Smith'], ['Jane', 'Doe'], ['Emily', 'Jones']])
134 {
135   "_source": "console-api",
136   "_level": "log",
137   "_messageText": "John,Smith,Jane,Doe,Emily,Jones",
138   "_type": "table",
139   "_url": null,
140   "_line": 3,
141   "_column": 14,
142   "_repeatCount": 1,
143   "_parameters": [
144     {
145       "_type": "object",
146       "_subtype": "array",
147       "_objectId": "<filtered>",
148       "_description": "Array",
149       "_hasChildren": true,
150       "_size": 3,
151       "_preview": {
152         "_type": "object",
153         "_subtype": "array",
154         "_description": "Array",
155         "_lossless": true,
156         "_overflow": false,
157         "_size": 3,
158         "_properties": [
159           {
160             "_name": "0",
161             "_type": "object",
162             "_subtype": "array",
163             "_valuePreview": {
164               "_type": "object",
165               "_subtype": "array",
166               "_description": "Array",
167               "_lossless": true,
168               "_overflow": false,
169               "_size": 2,
170               "_properties": [
171                 {
172                   "_name": "0",
173                   "_type": "string",
174                   "_value": "John"
175                 },
176                 {
177                   "_name": "1",
178                   "_type": "string",
179                   "_value": "Smith"
180                 }
181               ],
182               "_entries": null
183             }
184           },
185           {
186             "_name": "1",
187             "_type": "object",
188             "_subtype": "array",
189             "_valuePreview": {
190               "_type": "object",
191               "_subtype": "array",
192               "_description": "Array",
193               "_lossless": true,
194               "_overflow": false,
195               "_size": 2,
196               "_properties": [
197                 {
198                   "_name": "0",
199                   "_type": "string",
200                   "_value": "Jane"
201                 },
202                 {
203                   "_name": "1",
204                   "_type": "string",
205                   "_value": "Doe"
206                 }
207               ],
208               "_entries": null
209             }
210           },
211           {
212             "_name": "2",
213             "_type": "object",
214             "_subtype": "array",
215             "_valuePreview": {
216               "_type": "object",
217               "_subtype": "array",
218               "_description": "Array",
219               "_lossless": true,
220               "_overflow": false,
221               "_size": 2,
222               "_properties": [
223                 {
224                   "_name": "0",
225                   "_type": "string",
226                   "_value": "Emily"
227                 },
228                 {
229                   "_name": "1",
230                   "_type": "string",
231                   "_value": "Jones"
232                 }
233               ],
234               "_entries": null
235             }
236           }
237         ],
238         "_entries": null
239       }
240     }
241   ],
242   "_stackTrace": "<filtered>",
243   "_request": null
244 }
245
246 STEP: console.table([john, jane, emily])
247 {
248   "_source": "console-api",
249   "_level": "log",
250   "_messageText": "[object Object],[object Object],[object Object]",
251   "_type": "table",
252   "_url": null,
253   "_line": 3,
254   "_column": 14,
255   "_repeatCount": 1,
256   "_parameters": [
257     {
258       "_type": "object",
259       "_subtype": "array",
260       "_objectId": "<filtered>",
261       "_description": "Array",
262       "_hasChildren": true,
263       "_size": 3,
264       "_preview": {
265         "_type": "object",
266         "_subtype": "array",
267         "_description": "Array",
268         "_lossless": true,
269         "_overflow": false,
270         "_size": 3,
271         "_properties": [
272           {
273             "_name": "0",
274             "_type": "object",
275             "_valuePreview": {
276               "_type": "object",
277               "_description": "Person",
278               "_lossless": true,
279               "_overflow": false,
280               "_properties": [
281                 {
282                   "_name": "firstName",
283                   "_type": "string",
284                   "_value": "John"
285                 },
286                 {
287                   "_name": "lastName",
288                   "_type": "string",
289                   "_value": "Smith"
290                 }
291               ],
292               "_entries": null
293             }
294           },
295           {
296             "_name": "1",
297             "_type": "object",
298             "_valuePreview": {
299               "_type": "object",
300               "_description": "Person",
301               "_lossless": true,
302               "_overflow": false,
303               "_properties": [
304                 {
305                   "_name": "firstName",
306                   "_type": "string",
307                   "_value": "Jane"
308                 },
309                 {
310                   "_name": "lastName",
311                   "_type": "string",
312                   "_value": "Doe"
313                 }
314               ],
315               "_entries": null
316             }
317           },
318           {
319             "_name": "2",
320             "_type": "object",
321             "_valuePreview": {
322               "_type": "object",
323               "_description": "Person",
324               "_lossless": true,
325               "_overflow": false,
326               "_properties": [
327                 {
328                   "_name": "firstName",
329                   "_type": "string",
330                   "_value": "Emily"
331                 },
332                 {
333                   "_name": "lastName",
334                   "_type": "string",
335                   "_value": "Jones"
336                 }
337               ],
338               "_entries": null
339             }
340           }
341         ],
342         "_entries": null
343       }
344     }
345   ],
346   "_stackTrace": "<filtered>",
347   "_request": null
348 }
349
350 STEP: console.table([john, jane, emily], ['firstName'])
351 {
352   "_source": "console-api",
353   "_level": "log",
354   "_messageText": "[object Object],[object Object],[object Object]",
355   "_type": "table",
356   "_url": null,
357   "_line": 3,
358   "_column": 14,
359   "_repeatCount": 1,
360   "_parameters": [
361     {
362       "_type": "object",
363       "_subtype": "array",
364       "_objectId": "<filtered>",
365       "_description": "Array",
366       "_hasChildren": true,
367       "_size": 3,
368       "_preview": {
369         "_type": "object",
370         "_subtype": "array",
371         "_description": "Array",
372         "_lossless": true,
373         "_overflow": false,
374         "_size": 3,
375         "_properties": [
376           {
377             "_name": "0",
378             "_type": "object",
379             "_valuePreview": {
380               "_type": "object",
381               "_description": "Person",
382               "_lossless": true,
383               "_overflow": false,
384               "_properties": [
385                 {
386                   "_name": "firstName",
387                   "_type": "string",
388                   "_value": "John"
389                 },
390                 {
391                   "_name": "lastName",
392                   "_type": "string",
393                   "_value": "Smith"
394                 }
395               ],
396               "_entries": null
397             }
398           },
399           {
400             "_name": "1",
401             "_type": "object",
402             "_valuePreview": {
403               "_type": "object",
404               "_description": "Person",
405               "_lossless": true,
406               "_overflow": false,
407               "_properties": [
408                 {
409                   "_name": "firstName",
410                   "_type": "string",
411                   "_value": "Jane"
412                 },
413                 {
414                   "_name": "lastName",
415                   "_type": "string",
416                   "_value": "Doe"
417                 }
418               ],
419               "_entries": null
420             }
421           },
422           {
423             "_name": "2",
424             "_type": "object",
425             "_valuePreview": {
426               "_type": "object",
427               "_description": "Person",
428               "_lossless": true,
429               "_overflow": false,
430               "_properties": [
431                 {
432                   "_name": "firstName",
433                   "_type": "string",
434                   "_value": "Emily"
435                 },
436                 {
437                   "_name": "lastName",
438                   "_type": "string",
439                   "_value": "Jones"
440                 }
441               ],
442               "_entries": null
443             }
444           }
445         ],
446         "_entries": null
447       }
448     },
449     {
450       "_type": "object",
451       "_subtype": "array",
452       "_objectId": "<filtered>",
453       "_description": "Array",
454       "_hasChildren": true,
455       "_size": 1,
456       "_preview": {
457         "_type": "object",
458         "_subtype": "array",
459         "_description": "Array",
460         "_lossless": true,
461         "_overflow": false,
462         "_size": 1,
463         "_properties": [
464           {
465             "_name": "0",
466             "_type": "string",
467             "_value": "firstName"
468           }
469         ],
470         "_entries": null
471       }
472     }
473   ],
474   "_stackTrace": "<filtered>",
475   "_request": null
476 }
477