102102CONSOLE MESSAGE: line 13: 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
103103CONSOLE MESSAGE: line 12: test
104104CONSOLE MESSAGE: line 13: test
105CONSOLE MESSAGE: line 12: 42.0000
106CONSOLE MESSAGE: line 13: 42.0000
107CONSOLE MESSAGE: line 12: abc
108CONSOLE MESSAGE: line 13: abc
105109Tests that console logging dumps proper messages.
106110
107111 console-format.html:22 Array(10)
259263globals[31]
260264ƒ ( /**/ foo/**/, /*/**/bar,
261265 /**/baz) {}
262console-format.html:7 Number {[[PrimitiveValue]]: 42}
266console-format.html:7 Number {42}
263267console-format.html:8 [Number]
264268globals[32]
265Number {[[PrimitiveValue]]: 42}
266console-format.html:7 String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
269Number {42}
270console-format.html:7 String {"abc"}
267271console-format.html:8 [String]
268272globals[33]
269String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
273String {"abc"}
270274console-format.html:7 Uint16Array(3) [1, 2, 3]
271275console-format.html:8 [Uint16Array(3)]
272276globals[34]
303307console-format.html:8 [Array(1)]
304308globals[42]
305309["test"]
310console-format.html:7 Number {42, 1: "foo", a: "bar"}
311console-format.html:8 [Number]
312globals[43]
313Number {42, 1: "foo", a: "bar"}
314console-format.html:7 String {"abc", 3: "foo", 01: "foo", a: "bar"}
315console-format.html:8 [String]
316globals[44]
317String {"abc", 3: "foo", 01: "foo", a: "bar"}
306318Expanded all messages
307319console-format.html:22 Array(10)
308320 0: "test"
650662globals[31]
651663ƒ ( /**/ foo/**/, /*/**/bar,
652664 /**/baz) {}
653console-format.html:7 Number {[[PrimitiveValue]]: 42}
665console-format.html:7 Number {42}
654666 __proto__: Number
655667 [[PrimitiveValue]]: 42
656668console-format.html:8 [Number]
657 0: Number {[[PrimitiveValue]]: 42}
669 0: Number {42}
658670 length: 1
659671 __proto__: Array(0)
660672globals[32]
661Number {[[PrimitiveValue]]: 42}
673Number {42}
662674 __proto__: Number
663675 [[PrimitiveValue]]: 42
664console-format.html:7 String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
676console-format.html:7 String {"abc"}
665677 0: "a"
666678 1: "b"
667679 2: "c"
668680 length: 3
669681 __proto__: String
670682 [[PrimitiveValue]]: "abc"
671683console-format.html:8 [String]
672 0: String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
684 0: String {"abc"}
673685 length: 1
674686 __proto__: Array(0)
675687globals[33]
676String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
688String {"abc"}
677689 0: "a"
678690 1: "b"
679691 2: "c"
813825 0: "test"
814826 length: 1
815827 __proto__: Array(0)
828console-format.html:7 Number {42, 1: "foo", a: "bar"}
829 1: "foo"
830 a: "bar"
831 __proto__: Number
832 [[PrimitiveValue]]: 42
833console-format.html:8 [Number]
834 0: Number {42, 1: "foo", a: "bar"}
835 length: 1
836 __proto__: Array(0)
837globals[43]
838Number {42, 1: "foo", a: "bar"}
839 1: "foo"
840 a: "bar"
841 __proto__: Number
842 [[PrimitiveValue]]: 42
843console-format.html:7 String {"abc", 3: "foo", 01: "foo", a: "bar"}
844 0: "a"
845 01: "foo"
846 1: "b"
847 2: "c"
848 3: "foo"
849 a: "bar"
850 length: 3
851 __proto__: String
852 [[PrimitiveValue]]: "abc"
853console-format.html:8 [String]
854 0: String {"abc", 3: "foo", 01: "foo", a: "bar"}
855 length: 1
856 __proto__: Array(0)
857globals[44]
858String {"abc", 3: "foo", 01: "foo", a: "bar"}
859 0: "a"
860 01: "foo"
861 1: "b"
862 2: "c"
863 3: "foo"
864 a: "bar"
865 length: 3
866 __proto__: String
867 [[PrimitiveValue]]: "abc"
816868