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