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

Side by Side Diff: LayoutTests/inspector/console/console-format-expected.txt

Issue 23861007: DevTools: Fix console output for native functions like Math.random (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated test expectations Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: line 20: test,test2,,,test4,,,,, 1 CONSOLE MESSAGE: line 20: test,test2,,,test4,,,,,
2 CONSOLE MESSAGE: line 21: %o 2 CONSOLE MESSAGE: line 21: %o
3 CONSOLE MESSAGE: line 22: %O 3 CONSOLE MESSAGE: line 22: %O
4 CONSOLE MESSAGE: line 23: Test for zero "%f" in formatter 4 CONSOLE MESSAGE: line 23: Test for zero "%f" in formatter
5 CONSOLE MESSAGE: line 54: /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))* "|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?| \.))*)\s*\)/i 5 CONSOLE MESSAGE: line 54: /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))* "|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?| \.))*)\s*\)/i
6 CONSOLE MESSAGE: line 55: /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))* "|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?| \.))*)\s*\)/i 6 CONSOLE MESSAGE: line 55: /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))* "|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?| \.))*)\s*\)/i
7 CONSOLE MESSAGE: line 54: /foo\\bar\sbaz/i 7 CONSOLE MESSAGE: line 54: /foo\\bar\sbaz/i
8 CONSOLE MESSAGE: line 55: /foo\\bar\sbaz/i 8 CONSOLE MESSAGE: line 55: /foo\\bar\sbaz/i
9 CONSOLE MESSAGE: line 54: test 9 CONSOLE MESSAGE: line 54: test
10 CONSOLE MESSAGE: line 55: test 10 CONSOLE MESSAGE: line 55: test
11 CONSOLE MESSAGE: line 54: test named "test" 11 CONSOLE MESSAGE: line 54: test named "test"
12 CONSOLE MESSAGE: line 55: test named "test" 12 CONSOLE MESSAGE: line 55: test named "test"
13 CONSOLE MESSAGE: line 54: Error 13 CONSOLE MESSAGE: line 54: Error
14 CONSOLE MESSAGE: line 55: Error 14 CONSOLE MESSAGE: line 55: Error
15 CONSOLE MESSAGE: line 54: [object HTMLParagraphElement] 15 CONSOLE MESSAGE: line 54: [object HTMLParagraphElement]
16 CONSOLE MESSAGE: line 55: [object HTMLParagraphElement] 16 CONSOLE MESSAGE: line 55: [object HTMLParagraphElement]
17 CONSOLE MESSAGE: line 54: function () { return 1; } 17 CONSOLE MESSAGE: line 54: function () { return 1; }
18 CONSOLE MESSAGE: line 55: function () { return 1; } 18 CONSOLE MESSAGE: line 55: function () { return 1; }
19 CONSOLE MESSAGE: line 54: function random() { [native code] }
pfeldman 2013/09/05 11:42:10 Can we have a dedicated test for exceptions like t
20 CONSOLE MESSAGE: line 55: function random() { [native code] }
19 CONSOLE MESSAGE: line 54: function () { 21 CONSOLE MESSAGE: line 54: function () {
20 return 2; 22 return 2;
21 } 23 }
22 CONSOLE MESSAGE: line 55: function () { 24 CONSOLE MESSAGE: line 55: function () {
23 return 2; 25 return 2;
24 } 26 }
25 CONSOLE MESSAGE: line 54: 0.12 27 CONSOLE MESSAGE: line 54: 0.12
26 CONSOLE MESSAGE: line 55: 0.12 28 CONSOLE MESSAGE: line 55: 0.12
27 CONSOLE MESSAGE: line 54: http://webkit.org/ 29 CONSOLE MESSAGE: line 54: http://webkit.org/
28 CONSOLE MESSAGE: line 55: http://webkit.org/ 30 CONSOLE MESSAGE: line 55: http://webkit.org/
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 globals[4] 83 globals[4]
82 Error {} 84 Error {}
83 <p id="p">Tests that console logging dumps proper messages.</p> console-format.h tml:54 85 <p id="p">Tests that console logging dumps proper messages.</p> console-format.h tml:54
84 [p#p] console-format.html:55 86 [p#p] console-format.html:55
85 globals[5] 87 globals[5]
86 <p id="p">Tests that console logging dumps proper messages.</p> 88 <p id="p">Tests that console logging dumps proper messages.</p>
87 function () { return 1; } console-format.html:54 89 function () { return 1; } console-format.html:54
88 [function] console-format.html:55 90 [function] console-format.html:55
89 globals[6] 91 globals[6]
90 function () { return 1; } console-format.html:31 92 function () { return 1; } console-format.html:31
93 function random() { [native code] } console-format.html:54
94 [function] console-format.html:55
95 globals[7]
96 function random() { [native code] }
91 function () { 97 function () {
92 return 2; 98 return 2;
93 } console-format.html:54 99 } console-format.html:54
94 [function] console-format.html:55 100 [function] console-format.html:55
95 globals[7] 101 globals[8]
96 function () { 102 function () {
97 return 2; 103 return 2;
98 } console-format.html:32 104 } console-format.html:32
99 0.12 console-format.html:54 105 0.12 console-format.html:54
100 [0.12] console-format.html:55 106 [0.12] console-format.html:55
101 globals[8] 107 globals[9]
102 0.12 108 0.12
103 http://webkit.org/ console-format.html:54 109 http://webkit.org/ console-format.html:54
104 ["http://webkit.org/"] console-format.html:55 110 ["http://webkit.org/"] console-format.html:55
105 globals[9] 111 globals[10]
106 "http://webkit.org/" 112 "http://webkit.org/"
107 null console-format.html:54 113 null console-format.html:54
108 [null] console-format.html:55 114 [null] console-format.html:55
109 globals[10] 115 globals[11]
110 null 116 null
111 undefined console-format.html:54 117 undefined console-format.html:54
112 [undefined] console-format.html:55 118 [undefined] console-format.html:55
113 globals[11] 119 globals[12]
114 undefined 120 undefined
115 attr="" console-format.html:54 121 attr="" console-format.html:54
116 [attr] console-format.html:55 122 [attr] console-format.html:55
117 globals[12] 123 globals[13]
118 attr="" 124 attr=""
119 attr="value""value" console-format.html:54 125 attr="value""value" console-format.html:54
120 [attr] console-format.html:55 126 [attr] console-format.html:55
121 globals[13] 127 globals[14]
122 attr="value""value" 128 attr="value""value"
123 id="x""x" console-format.html:54 129 id="x""x" console-format.html:54
124 [id] console-format.html:55 130 [id] console-format.html:55
125 globals[14] 131 globals[15]
126 id="x""x" 132 id="x""x"
127 Object {} console-format.html:54 133 Object {} console-format.html:54
128 [Object] console-format.html:55 134 [Object] console-format.html:55
129 globals[15] 135 globals[16]
130 Object {} 136 Object {}
131 NaN console-format.html:54 137 NaN console-format.html:54
132 [NaN] console-format.html:55 138 [NaN] console-format.html:55
133 globals[16] 139 globals[17]
134 NaN 140 NaN
135 Infinity console-format.html:54 141 Infinity console-format.html:54
136 [Infinity] console-format.html:55 142 [Infinity] console-format.html:55
137 globals[17] 143 globals[18]
138 Infinity 144 Infinity
139 -Infinity console-format.html:54 145 -Infinity console-format.html:54
140 [-Infinity] console-format.html:55 146 [-Infinity] console-format.html:55
141 globals[18] 147 globals[19]
142 -Infinity 148 -Infinity
143 ["test", "test2", 4: "test4", foo: Object] console-format.html:54 149 ["test", "test2", 4: "test4", foo: Object] console-format.html:54
144 [Array[10]] console-format.html:55 150 [Array[10]] console-format.html:55
145 globals[19] 151 globals[20]
146 ["test", "test2", undefined × 2, "test4", undefined × 5] 152 ["test", "test2", undefined × 2, "test4", undefined × 5]
147 Object {} console-format.html:54 153 Object {} console-format.html:54
148 [Object] console-format.html:55 154 [Object] console-format.html:55
149 globals[20] 155 globals[21]
150 Object {} 156 Object {}
151 [function] console-format.html:54 157 [function] console-format.html:54
152 [Array[1]] console-format.html:55 158 [Array[1]] console-format.html:55
153 globals[21] 159 globals[22]
154 [function () {}] 160 [function () {}]
155 Object {bar: "bar", foo: "foo"} console-format.html:54 161 Object {bar: "bar", foo: "foo"} console-format.html:54
156 [Object] console-format.html:55 162 [Object] console-format.html:55
157 globals[22] 163 globals[23]
158 Object {bar: "bar", foo: "foo"} 164 Object {bar: "bar", foo: "foo"}
159 <svg id="svg-node"></svg> console-format.html:54 165 <svg id="svg-node"></svg> console-format.html:54
160 [svg#svg-node] console-format.html:55 166 [svg#svg-node] console-format.html:55
161 globals[23] 167 globals[24]
162 <svg id="svg-node"></svg> 168 <svg id="svg-node"></svg>
163 169
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698