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

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

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: fix rebase Created 3 years, 11 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]
(...skipping 24 matching lines...) Expand all
35 globals[1] 35 globals[1]
36 Symbol() 36 Symbol()
37 console-format-es6.html:11 Symbol(a) 37 console-format-es6.html:11 Symbol(a)
38 console-format-es6.html:12 [Symbol(a)] 38 console-format-es6.html:12 [Symbol(a)]
39 globals[2] 39 globals[2]
40 Symbol(a) 40 Symbol(a)
41 console-format-es6.html:11 Object {a: Symbol(), Symbol(a): 2} 41 console-format-es6.html:11 Object {a: Symbol(), Symbol(a): 2}
42 console-format-es6.html:12 [Object] 42 console-format-es6.html:12 [Object]
43 globals[3] 43 globals[3]
44 Object {a: Symbol(), Symbol(a): 2} 44 Object {a: Symbol(), Symbol(a): 2}
45 console-format-es6.html:11 Map(1) {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}} 45 console-format-es6.html:11 Map {Object {a: Symbol(), Symbol(a): 2} => Object {fo o: 1}}
dgozman 2017/01/13 02:55:41 Looks like a regression?
luoe 2017/01/13 23:20:12 Reverted. Maps/Sets will always have their size s
46 console-format-es6.html:12 [Map(1)] 46 console-format-es6.html:12 [Map(1)]
47 globals[4] 47 globals[4]
48 Map(1) {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}} 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}} 49 console-format-es6.html:11 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
50 console-format-es6.html:12 [WeakMap] 50 console-format-es6.html:12 [WeakMap]
51 globals[5] 51 globals[5]
52 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}} 52 WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
53 console-format-es6.html:11 Set(1) {Object {a: Symbol(), Symbol(a): 2}} 53 console-format-es6.html:11 Set {Object {a: Symbol(), Symbol(a): 2}}
54 console-format-es6.html:12 [Set(1)] 54 console-format-es6.html:12 [Set(1)]
55 globals[6] 55 globals[6]
56 Set(1) {Object {a: Symbol(), Symbol(a): 2}} 56 Set {Object {a: Symbol(), Symbol(a): 2}}
57 console-format-es6.html:11 WeakSet {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] 58 console-format-es6.html:12 [WeakSet]
59 globals[7] 59 globals[7]
60 WeakSet {Object {a: Symbol(), Symbol(a): 2}} 60 WeakSet {Object {a: Symbol(), Symbol(a): 2}}
61 console-format-es6.html:11 Map(1) {Map(0) {} => WeakMap {}} 61 console-format-es6.html:11 Map {Map {} => WeakMap {}}
62 console-format-es6.html:12 [Map(1)] 62 console-format-es6.html:12 [Map(1)]
63 globals[8] 63 globals[8]
64 Map(1) {Map(0) {} => WeakMap {}} 64 Map {Map {} => WeakMap {}}
65 console-format-es6.html:11 Map(1) {Map(1) {…} => WeakMap {…}} 65 console-format-es6.html:11 Map {Map {…} => WeakMap {…}}
66 console-format-es6.html:12 [Map(1)] 66 console-format-es6.html:12 [Map(1)]
67 globals[9] 67 globals[9]
68 Map(1) {Map(1) {…} => WeakMap {…}} 68 Map {Map {…} => WeakMap {…}}
69 console-format-es6.html:11 Set(1) {WeakSet {}} 69 console-format-es6.html:11 Set {WeakSet {}}
70 console-format-es6.html:12 [Set(1)] 70 console-format-es6.html:12 [Set(1)]
71 globals[10] 71 globals[10]
72 Set(1) {WeakSet {}} 72 Set {WeakSet {}}
73 console-format-es6.html:11 Set(1) {WeakSet {…}} 73 console-format-es6.html:11 Set {WeakSet {…}}
74 console-format-es6.html:12 [Set(1)] 74 console-format-es6.html:12 [Set(1)]
75 globals[11] 75 globals[11]
76 Set(1) {WeakSet {…}} 76 Set {WeakSet {…}}
77 console-format-es6.html:11 Map(5) {" from str " => " to str ", undefined => unde fined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}} 77 console-format-es6.html:11 Map(5) {" from str " => " to str ", undefined => unde fined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}}
78 console-format-es6.html:12 [Map(5)] 78 console-format-es6.html:12 [Map(5)]
79 globals[12] 79 globals[12]
80 Map(5) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}} 80 Map(5) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}}
81 Expanded all messages 81 Expanded all messages
82 console-format-es6.html:11 Promise 82 console-format-es6.html:11 Promise
83 __proto__: Promise 83 __proto__: Promise
84 [[PromiseStatus]]: "rejected" 84 [[PromiseStatus]]: "rejected"
85 [[PromiseValue]]: -0 85 [[PromiseValue]]: -0
86 console-format-es6.html:12 Array(1) 86 console-format-es6.html:12 Array(1)
87 0: Promise 87 0: Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: -0}
88 length: 1 88 length: 1
89 __proto__: Array(0) 89 __proto__: Array(0)
90 globals[0] 90 globals[0]
91 Promise 91 Promise
92 __proto__: Promise 92 __proto__: Promise
93 [[PromiseStatus]]: "rejected" 93 [[PromiseStatus]]: "rejected"
94 [[PromiseValue]]: -0 94 [[PromiseValue]]: -0
95 console-format-es6.html:11 Symbol() 95 console-format-es6.html:11 Symbol()
96 console-format-es6.html:12 Array(1) 96 console-format-es6.html:12 Array(1)
97 0: Symbol() 97 0: Symbol()
98 length: 1 98 length: 1
99 __proto__: Array(0) 99 __proto__: Array(0)
100 globals[1] 100 globals[1]
101 Symbol() 101 Symbol()
102 console-format-es6.html:11 Symbol(a) 102 console-format-es6.html:11 Symbol(a)
103 console-format-es6.html:12 Array(1) 103 console-format-es6.html:12 Array(1)
104 0: Symbol(a) 104 0: Symbol(a)
105 length: 1 105 length: 1
106 __proto__: Array(0) 106 __proto__: Array(0)
107 globals[2] 107 globals[2]
108 Symbol(a) 108 Symbol(a)
109 console-format-es6.html:11 Object 109 console-format-es6.html:11 Object
110 a: Symbol() 110 a: Symbol()
111 getter: (...) 111 getter: (...)
112 Symbol(a): 2 112 Symbol(a): 2
113 get getter: function getter() 113 get getter: function getter()
114 __proto__: Object 114 __proto__: Object
115 console-format-es6.html:12 Array(1) 115 console-format-es6.html:12 Array(1)
116 0: Object 116 0: Object {a: Symbol(), Symbol(a): 2}
117 length: 1 117 length: 1
118 __proto__: Array(0) 118 __proto__: Array(0)
119 globals[3] 119 globals[3]
120 Object 120 Object
121 a: Symbol() 121 a: Symbol()
122 getter: (...) 122 getter: (...)
123 Symbol(a): 2 123 Symbol(a): 2
124 get getter: function getter() 124 get getter: function getter()
125 __proto__: Object 125 __proto__: Object
126 console-format-es6.html:11 Map(1) 126 console-format-es6.html:11 Map(1)
127 size: (...) 127 size: (...)
128 __proto__: Map 128 __proto__: Map
129 [[Entries]]: Array(1) 129 [[Entries]]: Array(1)
130 0: {Object => Object} 130 0: {Object => Object} {key: Object, value: Object}
131 length: 1 131 length: 1
132 console-format-es6.html:12 Array(1) 132 console-format-es6.html:12 Array(1)
133 0: Map(1) 133 0: Map {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
134 length: 1 134 length: 1
135 __proto__: Array(0) 135 __proto__: Array(0)
136 globals[4] 136 globals[4]
137 Map(1) 137 Map(1)
138 size: (...) 138 size: (...)
139 __proto__: Map 139 __proto__: Map
140 [[Entries]]: Array(1) 140 [[Entries]]: Array(1)
141 0: {Object => Object} 141 0: {Object => Object} {key: Object, value: Object}
142 length: 1 142 length: 1
143 console-format-es6.html:11 WeakMap 143 console-format-es6.html:11 WeakMap
144 __proto__: WeakMap 144 __proto__: WeakMap
145 [[Entries]]: Array(1) 145 [[Entries]]: Array(1)
146 0: {Object => Object} 146 0: {Object => Object} {key: Object, value: Object}
147 length: 1 147 length: 1
148 console-format-es6.html:12 Array(1) 148 console-format-es6.html:12 Array(1)
149 0: WeakMap 149 0: WeakMap {Object {a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
150 length: 1 150 length: 1
151 __proto__: Array(0) 151 __proto__: Array(0)
152 globals[5] 152 globals[5]
153 WeakMap 153 WeakMap
154 __proto__: WeakMap 154 __proto__: WeakMap
155 [[Entries]]: Array(1) 155 [[Entries]]: Array(1)
156 0: {Object => Object} 156 0: {Object => Object} {key: Object, value: Object}
157 length: 1 157 length: 1
158 console-format-es6.html:11 Set(1) 158 console-format-es6.html:11 Set(1)
159 size: (...) 159 size: (...)
160 __proto__: Set 160 __proto__: Set
161 [[Entries]]: Array(1) 161 [[Entries]]: Array(1)
162 0: Object 162 0: Object {value: Object}
163 length: 1 163 length: 1
164 console-format-es6.html:12 Array(1) 164 console-format-es6.html:12 Array(1)
165 0: Set(1) 165 0: Set {Object {a: Symbol(), Symbol(a): 2}}
166 length: 1 166 length: 1
167 __proto__: Array(0) 167 __proto__: Array(0)
168 globals[6] 168 globals[6]
169 Set(1) 169 Set(1)
170 size: (...) 170 size: (...)
171 __proto__: Set 171 __proto__: Set
172 [[Entries]]: Array(1) 172 [[Entries]]: Array(1)
173 0: Object 173 0: Object {value: Object}
174 length: 1 174 length: 1
175 console-format-es6.html:11 WeakSet 175 console-format-es6.html:11 WeakSet
176 __proto__: WeakSet 176 __proto__: WeakSet
177 [[Entries]]: Array(1) 177 [[Entries]]: Array(1)
178 0: Object 178 0: Object {value: Object}
179 length: 1 179 length: 1
180 console-format-es6.html:12 Array(1) 180 console-format-es6.html:12 Array(1)
181 0: WeakSet 181 0: WeakSet {Object {a: Symbol(), Symbol(a): 2}}
182 length: 1 182 length: 1
183 __proto__: Array(0) 183 __proto__: Array(0)
184 globals[7] 184 globals[7]
185 WeakSet 185 WeakSet
186 __proto__: WeakSet 186 __proto__: WeakSet
187 [[Entries]]: Array(1) 187 [[Entries]]: Array(1)
188 0: Object 188 0: Object {value: Object}
189 length: 1 189 length: 1
190 console-format-es6.html:11 Map(1) 190 console-format-es6.html:11 Map(1)
191 size: (...) 191 size: (...)
192 __proto__: Map 192 __proto__: Map
193 [[Entries]]: Array(1) 193 [[Entries]]: Array(1)
194 0: {Map(0) => WeakMap} 194 0: {Map(0) => WeakMap} {key: Map(0), value: WeakMap}
195 length: 1 195 length: 1
196 console-format-es6.html:12 Array(1) 196 console-format-es6.html:12 Array(1)
197 0: Map(1) 197 0: Map {Map {} => WeakMap {}}
198 length: 1 198 length: 1
199 __proto__: Array(0) 199 __proto__: Array(0)
200 globals[8] 200 globals[8]
201 Map(1) 201 Map(1)
202 size: (...) 202 size: (...)
203 __proto__: Map 203 __proto__: Map
204 [[Entries]]: Array(1) 204 [[Entries]]: Array(1)
205 0: {Map(0) => WeakMap} 205 0: {Map(0) => WeakMap} {key: Map(0), value: WeakMap}
206 length: 1 206 length: 1
207 console-format-es6.html:11 Map(1) 207 console-format-es6.html:11 Map(1)
208 size: (...) 208 size: (...)
209 __proto__: Map 209 __proto__: Map
210 [[Entries]]: Array(1) 210 [[Entries]]: Array(1)
211 0: {Map(1) => WeakMap} 211 0: {Map(1) => WeakMap} {key: Map(1), value: WeakMap}
212 length: 1 212 length: 1
213 console-format-es6.html:12 Array(1) 213 console-format-es6.html:12 Array(1)
214 0: Map(1) 214 0: Map {Map {…} => WeakMap {…}}
215 length: 1 215 length: 1
216 __proto__: Array(0) 216 __proto__: Array(0)
217 globals[9] 217 globals[9]
218 Map(1) 218 Map(1)
219 size: (...) 219 size: (...)
220 __proto__: Map 220 __proto__: Map
221 [[Entries]]: Array(1) 221 [[Entries]]: Array(1)
222 0: {Map(1) => WeakMap} 222 0: {Map(1) => WeakMap} {key: Map(1), value: WeakMap}
223 length: 1 223 length: 1
224 console-format-es6.html:11 Set(1) 224 console-format-es6.html:11 Set(1)
225 size: (...) 225 size: (...)
226 __proto__: Set 226 __proto__: Set
227 [[Entries]]: Array(1) 227 [[Entries]]: Array(1)
228 0: WeakSet 228 0: WeakSet {value: WeakSet}
229 length: 1 229 length: 1
230 console-format-es6.html:12 Array(1) 230 console-format-es6.html:12 Array(1)
231 0: Set(1) 231 0: Set {WeakSet {}}
232 length: 1 232 length: 1
233 __proto__: Array(0) 233 __proto__: Array(0)
234 globals[10] 234 globals[10]
235 Set(1) 235 Set(1)
236 size: (...) 236 size: (...)
237 __proto__: Set 237 __proto__: Set
238 [[Entries]]: Array(1) 238 [[Entries]]: Array(1)
239 0: WeakSet 239 0: WeakSet {value: WeakSet}
240 length: 1 240 length: 1
241 console-format-es6.html:11 Set(1) 241 console-format-es6.html:11 Set(1)
242 size: (...) 242 size: (...)
243 __proto__: Set 243 __proto__: Set
244 [[Entries]]: Array(1) 244 [[Entries]]: Array(1)
245 0: WeakSet 245 0: WeakSet {value: WeakSet}
246 length: 1 246 length: 1
247 console-format-es6.html:12 Array(1) 247 console-format-es6.html:12 Array(1)
248 0: Set(1) 248 0: Set {WeakSet {…}}
249 length: 1 249 length: 1
250 __proto__: Array(0) 250 __proto__: Array(0)
251 globals[11] 251 globals[11]
252 Set(1) 252 Set(1)
253 size: (...) 253 size: (...)
254 __proto__: Set 254 __proto__: Set
255 [[Entries]]: Array(1) 255 [[Entries]]: Array(1)
256 0: WeakSet 256 0: WeakSet {value: WeakSet}
257 length: 1 257 length: 1
258 console-format-es6.html:11 Map(5) 258 console-format-es6.html:11 Map(5)
259 size: (...) 259 size: (...)
260 __proto__: Map 260 __proto__: Map
261 [[Entries]]: Array(5) 261 [[Entries]]: Array(5)
262 0: {" from str " => " to str "} 262 0: {" from str " => " to str "} {key: " from str ", value: " to str "}
263 1: {undefined => undefined} 263 1: {undefined => undefined} {key: undefined, value: undefined}
264 2: {null => null} 264 2: {null => null} {key: null, value: null}
265 3: {42 => 42} 265 3: {42 => 42} {key: 42, value: 42}
266 4: {Object => Object} 266 4: {Object => Object} {key: Object, value: Object}
267 length: 5 267 length: 5
268 console-format-es6.html:12 Array(1) 268 console-format-es6.html:12 Array(1)
269 0: Map(5) 269 0: Map(5) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}}
270 length: 1 270 length: 1
271 __proto__: Array(0) 271 __proto__: Array(0)
272 globals[12] 272 globals[12]
273 Map(5) 273 Map(5)
274 size: (...) 274 size: (...)
275 __proto__: Map 275 __proto__: Map
276 [[Entries]]: Array(5) 276 [[Entries]]: Array(5)
277 0: {" from str " => " to str "} 277 0: {" from str " => " to str "} {key: " from str ", value: " to str "}
278 1: {undefined => undefined} 278 1: {undefined => undefined} {key: undefined, value: undefined}
279 2: {null => null} 279 2: {null => null} {key: null, value: null}
280 3: {42 => 42} 280 3: {42 => 42} {key: 42, value: 42}
281 4: {Object => Object} 281 4: {Object => Object} {key: Object, value: Object}
282 length: 5 282 length: 5
283 283
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698