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

Side by Side Diff: test/inspector/runtime/internal-properties-expected.txt

Issue 2672213002: [inspector] introduced v8::debug::EntriesPreview for inspector (Closed)
Patch Set: addressed comments Created 3 years, 10 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
« no previous file with comments | « test/inspector/runtime/internal-properties-entries-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Checks internal properties in Runtime.getProperties output
2
3 Running test: generatorFunction
4 expression: (function* foo() { yield 1 })
5 {
6 id : <messageId>
7 result : {
8 internalProperties : [
9 [0] : {
10 name : [[FunctionLocation]]
11 value : {
12 description : Object
13 subtype : internal#location
14 type : object
15 value : {
16 columnNumber : 14
17 lineNumber : 0
18 scriptId : <scriptId>
19 }
20 }
21 }
22 [1] : {
23 name : [[IsGenerator]]
24 value : {
25 type : boolean
26 value : true
27 }
28 }
29 [2] : {
30 name : [[Scopes]]
31 value : {
32 className : Array
33 description : Scopes[1]
34 objectId : <objectId>
35 subtype : internal#scopeList
36 type : object
37 }
38 }
39 ]
40 }
41 }
42
43 Running test: regularFunction
44 expression: (function foo() {})
45 {
46 id : <messageId>
47 result : {
48 internalProperties : [
49 [0] : {
50 name : [[FunctionLocation]]
51 value : {
52 description : Object
53 subtype : internal#location
54 type : object
55 value : {
56 columnNumber : 13
57 lineNumber : 0
58 scriptId : <scriptId>
59 }
60 }
61 }
62 [1] : {
63 name : [[Scopes]]
64 value : {
65 className : Array
66 description : Scopes[1]
67 objectId : <objectId>
68 subtype : internal#scopeList
69 type : object
70 }
71 }
72 ]
73 }
74 }
75
76 Running test: boxedObjects
77 expression: new Number(239)
78 {
79 id : <messageId>
80 result : {
81 internalProperties : [
82 [0] : {
83 name : [[PrimitiveValue]]
84 value : {
85 description : 239
86 type : number
87 value : 239
88 }
89 }
90 ]
91 }
92 }
93 expression: new Boolean(false)
94 {
95 id : <messageId>
96 result : {
97 internalProperties : [
98 [0] : {
99 name : [[PrimitiveValue]]
100 value : {
101 type : boolean
102 value : false
103 }
104 }
105 ]
106 }
107 }
108 expression: new String('abc')
109 {
110 id : <messageId>
111 result : {
112 internalProperties : [
113 [0] : {
114 name : [[PrimitiveValue]]
115 value : {
116 type : string
117 value : abc
118 }
119 }
120 ]
121 }
122 }
123 expression: Object(Symbol(42))
124 {
125 id : <messageId>
126 result : {
127 internalProperties : [
128 [0] : {
129 name : [[PrimitiveValue]]
130 value : {
131 description : Symbol(42)
132 objectId : <objectId>
133 type : symbol
134 }
135 }
136 ]
137 }
138 }
139
140 Running test: promise
141 expression: Promise.resolve(42)
142 {
143 id : <messageId>
144 result : {
145 internalProperties : [
146 [0] : {
147 name : [[PromiseStatus]]
148 value : {
149 type : string
150 value : resolved
151 }
152 }
153 [1] : {
154 name : [[PromiseValue]]
155 value : {
156 description : 42
157 type : number
158 value : 42
159 }
160 }
161 ]
162 }
163 }
164 expression: new Promise(() => undefined)
165 {
166 id : <messageId>
167 result : {
168 internalProperties : [
169 [0] : {
170 name : [[PromiseStatus]]
171 value : {
172 type : string
173 value : pending
174 }
175 }
176 [1] : {
177 name : [[PromiseValue]]
178 value : {
179 type : undefined
180 }
181 }
182 ]
183 }
184 }
185
186 Running test: generatorObject
187 expression: (function* foo() { yield 1 })()
188 {
189 id : <messageId>
190 result : {
191 internalProperties : [
192 [0] : {
193 name : [[GeneratorStatus]]
194 value : {
195 type : string
196 value : suspended
197 }
198 }
199 [1] : {
200 name : [[GeneratorFunction]]
201 value : {
202 className : GeneratorFunction
203 description : function* foo() { yield 1 }
204 objectId : <objectId>
205 type : function
206 }
207 }
208 [2] : {
209 name : [[GeneratorReceiver]]
210 value : {
211 className : global
212 description : global
213 objectId : <objectId>
214 type : object
215 }
216 }
217 [3] : {
218 name : [[GeneratorLocation]]
219 value : {
220 description : Object
221 subtype : internal#location
222 type : object
223 value : {
224 columnNumber : 14
225 lineNumber : 0
226 scriptId : <scriptId>
227 }
228 }
229 }
230 [4] : {
231 name : [[Scopes]]
232 value : {
233 className : Array
234 description : Scopes[2]
235 objectId : <objectId>
236 subtype : internal#scopeList
237 type : object
238 }
239 }
240 ]
241 }
242 }
243
244 Running test: iteratorObject
245 expression: (new Map([[1,2]])).entries()
246 {
247 id : <messageId>
248 result : {
249 internalProperties : [
250 [0] : {
251 name : [[IteratorHasMore]]
252 value : {
253 type : boolean
254 value : true
255 }
256 }
257 [1] : {
258 name : [[IteratorIndex]]
259 value : {
260 description : 0
261 type : number
262 value : 0
263 }
264 }
265 [2] : {
266 name : [[IteratorKind]]
267 value : {
268 type : string
269 value : entries
270 }
271 }
272 [3] : {
273 name : [[Entries]]
274 value : {
275 className : Array
276 description : Array(1)
277 objectId : <objectId>
278 subtype : array
279 type : object
280 }
281 }
282 ]
283 }
284 }
285 expression: (new Set([[1,2]])).entries()
286 {
287 id : <messageId>
288 result : {
289 internalProperties : [
290 [0] : {
291 name : [[IteratorHasMore]]
292 value : {
293 type : boolean
294 value : true
295 }
296 }
297 [1] : {
298 name : [[IteratorIndex]]
299 value : {
300 description : 0
301 type : number
302 value : 0
303 }
304 }
305 [2] : {
306 name : [[IteratorKind]]
307 value : {
308 type : string
309 value : entries
310 }
311 }
312 [3] : {
313 name : [[Entries]]
314 value : {
315 className : Array
316 description : Array(1)
317 objectId : <objectId>
318 subtype : array
319 type : object
320 }
321 }
322 ]
323 }
324 }
OLDNEW
« no previous file with comments | « test/inspector/runtime/internal-properties-entries-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698