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