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

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

Issue 2139043002: DevTools: show alternate title onexpand of object in console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reuse dump() in tests Created 4 years, 4 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
OLDNEW
1 CONSOLE MESSAGE: line 11: [object Promise] 1 CONSOLE MESSAGE: line 11: [object Promise]
2 CONSOLE MESSAGE: line 12: [object Promise] 2 CONSOLE MESSAGE: line 12: [object Promise]
3 CONSOLE MESSAGE: line 11: Symbol() 3 CONSOLE MESSAGE: line 11: Symbol()
4 CONSOLE MESSAGE: line 12: Symbol() 4 CONSOLE MESSAGE: line 12: Symbol()
5 CONSOLE MESSAGE: line 11: Symbol(a) 5 CONSOLE MESSAGE: line 11: Symbol(a)
6 CONSOLE MESSAGE: line 12: Symbol(a) 6 CONSOLE MESSAGE: line 12: Symbol(a)
7 CONSOLE MESSAGE: line 11: [object Object] 7 CONSOLE MESSAGE: line 11: [object Object]
8 CONSOLE MESSAGE: line 12: [object Object] 8 CONSOLE MESSAGE: line 12: [object Object]
9 CONSOLE MESSAGE: line 11: [object Map] 9 CONSOLE MESSAGE: line 11: [object Map]
10 CONSOLE MESSAGE: line 12: [object Map] 10 CONSOLE MESSAGE: line 12: [object Map]
11 CONSOLE MESSAGE: line 11: [object WeakMap] 11 CONSOLE MESSAGE: line 11: [object WeakMap]
12 CONSOLE MESSAGE: line 12: [object WeakMap] 12 CONSOLE MESSAGE: line 12: [object WeakMap]
13 CONSOLE MESSAGE: line 11: [object Set] 13 CONSOLE MESSAGE: line 11: [object Set]
14 CONSOLE MESSAGE: line 12: [object Set] 14 CONSOLE MESSAGE: line 12: [object Set]
15 CONSOLE MESSAGE: line 11: [object WeakSet] 15 CONSOLE MESSAGE: line 11: [object WeakSet]
16 CONSOLE MESSAGE: line 12: [object WeakSet] 16 CONSOLE MESSAGE: line 12: [object WeakSet]
17 CONSOLE MESSAGE: line 11: [object Map] 17 CONSOLE MESSAGE: line 11: [object Map]
18 CONSOLE MESSAGE: line 12: [object Map] 18 CONSOLE MESSAGE: line 12: [object Map]
19 CONSOLE MESSAGE: line 11: [object Map] 19 CONSOLE MESSAGE: line 11: [object Map]
20 CONSOLE MESSAGE: line 12: [object Map] 20 CONSOLE MESSAGE: line 12: [object Map]
21 CONSOLE MESSAGE: line 11: [object Set] 21 CONSOLE MESSAGE: line 11: [object Set]
22 CONSOLE MESSAGE: line 12: [object Set] 22 CONSOLE MESSAGE: line 12: [object Set]
23 CONSOLE MESSAGE: line 11: [object Set] 23 CONSOLE MESSAGE: line 11: [object Set]
24 CONSOLE MESSAGE: line 12: [object Set] 24 CONSOLE MESSAGE: line 12: [object Set]
25 CONSOLE MESSAGE: line 11: [object Map] 25 CONSOLE MESSAGE: line 11: [object Map]
26 CONSOLE MESSAGE: line 12: [object Map] 26 CONSOLE MESSAGE: line 12: [object Map]
27 Tests that console properly displays information about ES6 features. 27 Tests that console properly displays information about ES6 features.
28 28
29 console-format-es6.html:11 Promise {[[PromiseStatus]]: "rejected", [[PromiseValu e]]: -0} 29 console-format-es6.html:11 Promise {[[PromiseStatus]]: "rejected", [[PromiseValu e]]: -0}
30 console-format-es6.html:12 [Promise]
31 globals[0]
32 Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: -0}
33 console-format-es6.html:11 Symbol()
34 console-format-es6.html:12 [Symbol()]
35 globals[1]
36 Symbol()
37 console-format-es6.html:11 Symbol(a)
38 console-format-es6.html:12 [Symbol(a)]
39 globals[2]
40 Symbol(a)
41 console-format-es6.html:11 Object {a: Symbol(), Symbol(a): 2}
42 console-format-es6.html:12 [Object]
43 globals[3]
44 Object {a: Symbol(), Symbol(a): 2}
45 console-format-es6.html:11 Map {Object {a: Symbol(), Symbol(a): 2} => Object {fo o: 1}}
46 console-format-es6.html:12 [Map]
47 globals[4]
48 Map {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
49 console-format-es6.html:11 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
50 console-format-es6.html:12 [WeakMap]
51 globals[5]
52 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
53 console-format-es6.html:11 Set {Object {a: Symbol(), Symbol(a): 2}}
54 console-format-es6.html:12 [Set]
55 globals[6]
56 Set {Object {a: Symbol(), Symbol(a): 2}}
57 console-format-es6.html:11 WeakSet {Object {a: Symbol(), Symbol(a): 2}}
58 console-format-es6.html:12 [WeakSet]
59 globals[7]
60 WeakSet {Object {a: Symbol(), Symbol(a): 2}}
61 console-format-es6.html:11 Map {Map {} => WeakMap {}}
62 console-format-es6.html:12 [Map]
63 globals[8]
64 Map {Map {} => WeakMap {}}
65 console-format-es6.html:11 Map {Map {…} => WeakMap {…}}
66 console-format-es6.html:12 [Map]
67 globals[9]
68 Map {Map {…} => WeakMap {…}}
69 console-format-es6.html:11 Set {WeakSet {}}
70 console-format-es6.html:12 [Set]
71 globals[10]
72 Set {WeakSet {}}
73 console-format-es6.html:11 Set {WeakSet {…}}
74 console-format-es6.html:12 [Set]
75 globals[11]
76 Set {WeakSet {…}}
77 console-format-es6.html:11 Map {" from str " => " to str ", undefined => undefin ed, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}}
78 console-format-es6.html:12 [Map]
79 globals[12]
80 Map {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}}
81 Expanded all messages
82 console-format-es6.html:11 Promise
30 __proto__: Promise 83 __proto__: Promise
31 [[PromiseStatus]]: "rejected" 84 [[PromiseStatus]]: "rejected"
32 [[PromiseValue]]: -0 85 [[PromiseValue]]: -0
33 console-format-es6.html:12 [Promise] 86 console-format-es6.html:12 Array[1]
34 0: Promise 87 0: Promise
35 length: 1 88 length: 1
36 __proto__: Array[0] 89 __proto__: Array[0]
37 globals[0] 90 globals[0]
38 Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: -0} 91 Promise
39 __proto__: Promise 92 __proto__: Promise
40 [[PromiseStatus]]: "rejected" 93 [[PromiseStatus]]: "rejected"
41 [[PromiseValue]]: -0 94 [[PromiseValue]]: -0
42 console-format-es6.html:11 Symbol() 95 console-format-es6.html:11 Symbol()
43 console-format-es6.html:12 [Symbol()] 96 console-format-es6.html:12 Array[1]
44 0: Symbol() 97 0: Symbol()
45 length: 1 98 length: 1
46 __proto__: Array[0] 99 __proto__: Array[0]
47 globals[1] 100 globals[1]
48 Symbol() 101 Symbol()
49 console-format-es6.html:11 Symbol(a) 102 console-format-es6.html:11 Symbol(a)
50 console-format-es6.html:12 [Symbol(a)] 103 console-format-es6.html:12 Array[1]
51 0: Symbol(a) 104 0: Symbol(a)
52 length: 1 105 length: 1
53 __proto__: Array[0] 106 __proto__: Array[0]
54 globals[2] 107 globals[2]
55 Symbol(a) 108 Symbol(a)
56 console-format-es6.html:11 Object {a: Symbol(), Symbol(a): 2} 109 console-format-es6.html:11 Object
57 a: Symbol() 110 a: Symbol()
58 getter: (...) 111 getter: (...)
59 get getter: getter() 112 get getter: getter()
60 Symbol(a): 2 113 Symbol(a): 2
61 __proto__: Object 114 __proto__: Object
62 console-format-es6.html:12 [Object] 115 console-format-es6.html:12 Array[1]
63 0: Object 116 0: Object
64 length: 1 117 length: 1
65 __proto__: Array[0] 118 __proto__: Array[0]
66 globals[3] 119 globals[3]
67 Object {a: Symbol(), Symbol(a): 2} 120 Object
68 a: Symbol() 121 a: Symbol()
69 getter: (...) 122 getter: (...)
70 get getter: getter() 123 get getter: getter()
71 Symbol(a): 2 124 Symbol(a): 2
72 __proto__: Object 125 __proto__: Object
73 console-format-es6.html:11 Map {Object {a: Symbol(), Symbol(a): 2} => Object {fo o: 1}} 126 console-format-es6.html:11 Map
74 size: (...) 127 size: (...)
75 __proto__: Map 128 __proto__: Map
76 [[Entries]]: Array[1] 129 [[Entries]]: Array[1]
77 0: {Object => Object} 130 0: {Object => Object}
78 length: 1 131 length: 1
79 console-format-es6.html:12 [Map] 132 console-format-es6.html:12 Array[1]
80 0: Map 133 0: Map
81 length: 1 134 length: 1
82 __proto__: Array[0] 135 __proto__: Array[0]
83 globals[4] 136 globals[4]
84 Map {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}} 137 Map
85 size: (...) 138 size: (...)
86 __proto__: Map 139 __proto__: Map
87 [[Entries]]: Array[1] 140 [[Entries]]: Array[1]
88 0: {Object => Object} 141 0: {Object => Object}
89 length: 1 142 length: 1
90 console-format-es6.html:11 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}} 143 console-format-es6.html:11 WeakMap
91 __proto__: WeakMap 144 __proto__: WeakMap
92 [[Entries]]: Array[1] 145 [[Entries]]: Array[1]
93 0: {Object => Object} 146 0: {Object => Object}
94 length: 1 147 length: 1
95 console-format-es6.html:12 [WeakMap] 148 console-format-es6.html:12 Array[1]
96 0: WeakMap 149 0: WeakMap
97 length: 1 150 length: 1
98 __proto__: Array[0] 151 __proto__: Array[0]
99 globals[5] 152 globals[5]
100 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}} 153 WeakMap
101 __proto__: WeakMap 154 __proto__: WeakMap
102 [[Entries]]: Array[1] 155 [[Entries]]: Array[1]
103 0: {Object => Object} 156 0: {Object => Object}
104 length: 1 157 length: 1
105 console-format-es6.html:11 Set {Object {a: Symbol(), Symbol(a): 2}} 158 console-format-es6.html:11 Set
106 size: (...) 159 size: (...)
107 __proto__: Set 160 __proto__: Set
108 [[Entries]]: Array[1] 161 [[Entries]]: Array[1]
109 0: Object 162 0: Object
110 length: 1 163 length: 1
111 console-format-es6.html:12 [Set] 164 console-format-es6.html:12 Array[1]
112 0: Set 165 0: Set
113 length: 1 166 length: 1
114 __proto__: Array[0] 167 __proto__: Array[0]
115 globals[6] 168 globals[6]
116 Set {Object {a: Symbol(), Symbol(a): 2}} 169 Set
117 size: (...) 170 size: (...)
118 __proto__: Set 171 __proto__: Set
119 [[Entries]]: Array[1] 172 [[Entries]]: Array[1]
120 0: Object 173 0: Object
121 length: 1 174 length: 1
122 console-format-es6.html:11 WeakSet {Object {a: Symbol(), Symbol(a): 2}} 175 console-format-es6.html:11 WeakSet
123 __proto__: WeakSet 176 __proto__: WeakSet
124 [[Entries]]: Array[1] 177 [[Entries]]: Array[1]
125 0: Object 178 0: Object
126 length: 1 179 length: 1
127 console-format-es6.html:12 [WeakSet] 180 console-format-es6.html:12 Array[1]
128 0: WeakSet 181 0: WeakSet
129 length: 1 182 length: 1
130 __proto__: Array[0] 183 __proto__: Array[0]
131 globals[7] 184 globals[7]
132 WeakSet {Object {a: Symbol(), Symbol(a): 2}} 185 WeakSet
133 __proto__: WeakSet 186 __proto__: WeakSet
134 [[Entries]]: Array[1] 187 [[Entries]]: Array[1]
135 0: Object 188 0: Object
136 length: 1 189 length: 1
137 console-format-es6.html:11 Map {Map {} => WeakMap {}} 190 console-format-es6.html:11 Map
138 size: (...) 191 size: (...)
139 __proto__: Map 192 __proto__: Map
140 [[Entries]]: Array[1] 193 [[Entries]]: Array[1]
141 0: {Map => WeakMap} 194 0: {Map => WeakMap}
142 length: 1 195 length: 1
143 console-format-es6.html:12 [Map] 196 console-format-es6.html:12 Array[1]
144 0: Map 197 0: Map
145 length: 1 198 length: 1
146 __proto__: Array[0] 199 __proto__: Array[0]
147 globals[8] 200 globals[8]
148 Map {Map {} => WeakMap {}} 201 Map
149 size: (...) 202 size: (...)
150 __proto__: Map 203 __proto__: Map
151 [[Entries]]: Array[1] 204 [[Entries]]: Array[1]
152 0: {Map => WeakMap} 205 0: {Map => WeakMap}
153 length: 1 206 length: 1
154 console-format-es6.html:11 Map {Map {…} => WeakMap {…}} 207 console-format-es6.html:11 Map
155 size: (...) 208 size: (...)
156 __proto__: Map 209 __proto__: Map
157 [[Entries]]: Array[1] 210 [[Entries]]: Array[1]
158 0: {Map => WeakMap} 211 0: {Map => WeakMap}
159 length: 1 212 length: 1
160 console-format-es6.html:12 [Map] 213 console-format-es6.html:12 Array[1]
161 0: Map 214 0: Map
162 length: 1 215 length: 1
163 __proto__: Array[0] 216 __proto__: Array[0]
164 globals[9] 217 globals[9]
165 Map {Map {…} => WeakMap {…}} 218 Map
166 size: (...) 219 size: (...)
167 __proto__: Map 220 __proto__: Map
168 [[Entries]]: Array[1] 221 [[Entries]]: Array[1]
169 0: {Map => WeakMap} 222 0: {Map => WeakMap}
170 length: 1 223 length: 1
171 console-format-es6.html:11 Set {WeakSet {}} 224 console-format-es6.html:11 Set
172 size: (...) 225 size: (...)
173 __proto__: Set 226 __proto__: Set
174 [[Entries]]: Array[1] 227 [[Entries]]: Array[1]
175 0: WeakSet 228 0: WeakSet
176 length: 1 229 length: 1
177 console-format-es6.html:12 [Set] 230 console-format-es6.html:12 Array[1]
178 0: Set 231 0: Set
179 length: 1 232 length: 1
180 __proto__: Array[0] 233 __proto__: Array[0]
181 globals[10] 234 globals[10]
182 Set {WeakSet {}} 235 Set
183 size: (...) 236 size: (...)
184 __proto__: Set 237 __proto__: Set
185 [[Entries]]: Array[1] 238 [[Entries]]: Array[1]
186 0: WeakSet 239 0: WeakSet
187 length: 1 240 length: 1
188 console-format-es6.html:11 Set {WeakSet {…}} 241 console-format-es6.html:11 Set
189 size: (...) 242 size: (...)
190 __proto__: Set 243 __proto__: Set
191 [[Entries]]: Array[1] 244 [[Entries]]: Array[1]
192 0: WeakSet 245 0: WeakSet
193 length: 1 246 length: 1
194 console-format-es6.html:12 [Set] 247 console-format-es6.html:12 Array[1]
195 0: Set 248 0: Set
196 length: 1 249 length: 1
197 __proto__: Array[0] 250 __proto__: Array[0]
198 globals[11] 251 globals[11]
199 Set {WeakSet {…}} 252 Set
200 size: (...) 253 size: (...)
201 __proto__: Set 254 __proto__: Set
202 [[Entries]]: Array[1] 255 [[Entries]]: Array[1]
203 0: WeakSet 256 0: WeakSet
204 length: 1 257 length: 1
205 console-format-es6.html:11 Map {" from str " => " to str ", undefined => undefin ed, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}} 258 console-format-es6.html:11 Map
206 size: (...) 259 size: (...)
207 __proto__: Map 260 __proto__: Map
208 [[Entries]]: Array[5] 261 [[Entries]]: Array[5]
209 0: {" from str " => " to str "} 262 0: {" from str " => " to str "}
210 1: {undefined => undefined} 263 1: {undefined => undefined}
211 2: {null => null} 264 2: {null => null}
212 3: {42 => 42} 265 3: {42 => 42}
213 4: {Object => Object} 266 4: {Object => Object}
214 length: 5 267 length: 5
215 console-format-es6.html:12 [Map] 268 console-format-es6.html:12 Array[1]
216 0: Map 269 0: Map
217 length: 1 270 length: 1
218 __proto__: Array[0] 271 __proto__: Array[0]
219 globals[12] 272 globals[12]
220 Map {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}} 273 Map
221 size: (...) 274 size: (...)
222 __proto__: Map 275 __proto__: Map
223 [[Entries]]: Array[5] 276 [[Entries]]: Array[5]
224 0: {" from str " => " to str "} 277 0: {" from str " => " to str "}
225 1: {undefined => undefined} 278 1: {undefined => undefined}
226 2: {null => null} 279 2: {null => null}
227 3: {42 => 42} 280 3: {42 => 42}
228 4: {Object => Object} 281 4: {Object => Object}
229 length: 5 282 length: 5
230 283
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698