| OLD | NEW |
| 1 Checks internal properties in Runtime.getProperties output | 1 Checks internal properties in Runtime.getProperties output |
| 2 | 2 |
| 3 Running test: generatorFunction | 3 Running test: generatorFunction |
| 4 expression: (function* foo() { yield 1 }) | 4 expression: (function* foo() { yield 1 }) |
| 5 { | 5 { |
| 6 id : <messageId> | 6 id : <messageId> |
| 7 result : { | 7 result : { |
| 8 internalProperties : [ | 8 internalProperties : [ |
| 9 [0] : { | 9 [0] : { |
| 10 name : [[FunctionLocation]] | 10 name : [[FunctionLocation]] |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 name : [[PromiseValue]] | 177 name : [[PromiseValue]] |
| 178 value : { | 178 value : { |
| 179 type : undefined | 179 type : undefined |
| 180 } | 180 } |
| 181 } | 181 } |
| 182 ] | 182 ] |
| 183 } | 183 } |
| 184 } | 184 } |
| 185 | 185 |
| 186 Running test: generatorObject | 186 Running test: generatorObject |
| 187 expression: (function* foo() { yield 1 })() | 187 expression: gen1 |
| 188 { | 188 { |
| 189 id : <messageId> | 189 id : <messageId> |
| 190 result : { | 190 result : { |
| 191 internalProperties : [ | 191 internalProperties : [ |
| 192 [0] : { | 192 [0] : { |
| 193 name : [[GeneratorStatus]] | 193 name : [[GeneratorStatus]] |
| 194 value : { | 194 value : { |
| 195 type : string | 195 type : string |
| 196 value : suspended | 196 value : suspended |
| 197 } | 197 } |
| 198 } | 198 } |
| 199 [1] : { | 199 [1] : { |
| 200 name : [[GeneratorFunction]] | 200 name : [[GeneratorFunction]] |
| 201 value : { | 201 value : { |
| 202 className : GeneratorFunction | 202 className : GeneratorFunction |
| 203 description : function* foo() { yield 1 } | 203 description : function* foo() { yield 1; } |
| 204 objectId : <objectId> | 204 objectId : <objectId> |
| 205 type : function | 205 type : function |
| 206 } | 206 } |
| 207 } | 207 } |
| 208 [2] : { | 208 [2] : { |
| 209 name : [[GeneratorReceiver]] | 209 name : [[GeneratorReceiver]] |
| 210 value : { | 210 value : { |
| 211 className : global | 211 className : global |
| 212 description : global | 212 description : global |
| 213 objectId : <objectId> | 213 objectId : <objectId> |
| 214 type : object | 214 type : object |
| 215 } | 215 } |
| 216 } | 216 } |
| 217 [3] : { | 217 [3] : { |
| 218 name : [[GeneratorLocation]] | 218 name : [[GeneratorLocation]] |
| 219 value : { | 219 value : { |
| 220 description : Object | 220 description : Object |
| 221 subtype : internal#location | 221 subtype : internal#location |
| 222 type : object | 222 type : object |
| 223 value : { | 223 value : { |
| 224 columnNumber : 14 | 224 columnNumber : 13 |
| 225 lineNumber : 0 | 225 lineNumber : 8 |
| 226 scriptId : <scriptId> | 226 scriptId : <scriptId> |
| 227 } | 227 } |
| 228 } | 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 expression: gen1.next();gen1 |
| 244 { |
| 245 id : <messageId> |
| 246 result : { |
| 247 internalProperties : [ |
| 248 [0] : { |
| 249 name : [[GeneratorStatus]] |
| 250 value : { |
| 251 type : string |
| 252 value : suspended |
| 253 } |
| 254 } |
| 255 [1] : { |
| 256 name : [[GeneratorFunction]] |
| 257 value : { |
| 258 className : GeneratorFunction |
| 259 description : function* foo() { yield 1; } |
| 260 objectId : <objectId> |
| 261 type : function |
| 262 } |
| 263 } |
| 264 [2] : { |
| 265 name : [[GeneratorReceiver]] |
| 266 value : { |
| 267 className : global |
| 268 description : global |
| 269 objectId : <objectId> |
| 270 type : object |
| 271 } |
| 272 } |
| 273 [3] : { |
| 274 name : [[GeneratorLocation]] |
| 275 value : { |
| 276 description : Object |
| 277 subtype : internal#location |
| 278 type : object |
| 279 value : { |
| 280 columnNumber : 2 |
| 281 lineNumber : 9 |
| 282 scriptId : <scriptId> |
| 283 } |
| 284 } |
| 285 } |
| 286 [4] : { |
| 287 name : [[Scopes]] |
| 288 value : { |
| 289 className : Array |
| 290 description : Scopes[2] |
| 291 objectId : <objectId> |
| 292 subtype : internal#scopeList |
| 293 type : object |
| 294 } |
| 295 } |
| 296 ] |
| 297 } |
| 298 } |
| 299 expression: gen1.next();gen1 |
| 300 { |
| 301 id : <messageId> |
| 302 result : { |
| 303 internalProperties : [ |
| 304 [0] : { |
| 305 name : [[GeneratorStatus]] |
| 306 value : { |
| 307 type : string |
| 308 value : closed |
| 309 } |
| 310 } |
| 311 [1] : { |
| 312 name : [[GeneratorFunction]] |
| 313 value : { |
| 314 className : GeneratorFunction |
| 315 description : function* foo() { yield 1; } |
| 316 objectId : <objectId> |
| 317 type : function |
| 318 } |
| 319 } |
| 320 [2] : { |
| 321 name : [[GeneratorReceiver]] |
| 322 value : { |
| 323 className : global |
| 324 description : global |
| 325 objectId : <objectId> |
| 326 type : object |
| 327 } |
| 328 } |
| 329 [3] : { |
| 330 name : [[GeneratorLocation]] |
| 331 value : { |
| 332 description : Object |
| 333 subtype : internal#location |
| 334 type : object |
| 335 value : { |
| 336 columnNumber : 13 |
| 337 lineNumber : 8 |
| 338 scriptId : <scriptId> |
| 339 } |
| 340 } |
| 229 } | 341 } |
| 230 [4] : { | 342 [4] : { |
| 231 name : [[Scopes]] | 343 name : [[Scopes]] |
| 232 value : { | 344 value : { |
| 233 className : Array | 345 className : Array |
| 234 description : Scopes[2] | 346 description : Scopes[2] |
| 235 objectId : <objectId> | 347 objectId : <objectId> |
| 236 subtype : internal#scopeList | 348 subtype : internal#scopeList |
| 237 type : object | 349 type : object |
| 238 } | 350 } |
| 239 } | 351 } |
| 240 ] | 352 ] |
| 241 } | 353 } |
| 242 } | 354 } |
| 243 | 355 |
| 356 Running test: generatorObjectDebuggerDisabled |
| 357 expression: gen2 |
| 358 { |
| 359 id : <messageId> |
| 360 result : { |
| 361 internalProperties : [ |
| 362 [0] : { |
| 363 name : [[GeneratorStatus]] |
| 364 value : { |
| 365 type : string |
| 366 value : suspended |
| 367 } |
| 368 } |
| 369 [1] : { |
| 370 name : [[GeneratorFunction]] |
| 371 value : { |
| 372 className : GeneratorFunction |
| 373 description : function* foo() { yield 1; } |
| 374 objectId : <objectId> |
| 375 type : function |
| 376 } |
| 377 } |
| 378 [2] : { |
| 379 name : [[GeneratorReceiver]] |
| 380 value : { |
| 381 className : global |
| 382 description : global |
| 383 objectId : <objectId> |
| 384 type : object |
| 385 } |
| 386 } |
| 387 [3] : { |
| 388 name : [[GeneratorLocation]] |
| 389 value : { |
| 390 description : Object |
| 391 subtype : internal#location |
| 392 type : object |
| 393 value : { |
| 394 columnNumber : 13 |
| 395 lineNumber : 8 |
| 396 scriptId : <scriptId> |
| 397 } |
| 398 } |
| 399 } |
| 400 ] |
| 401 } |
| 402 } |
| 403 expression: gen2.next();gen2 |
| 404 { |
| 405 id : <messageId> |
| 406 result : { |
| 407 internalProperties : [ |
| 408 [0] : { |
| 409 name : [[GeneratorStatus]] |
| 410 value : { |
| 411 type : string |
| 412 value : suspended |
| 413 } |
| 414 } |
| 415 [1] : { |
| 416 name : [[GeneratorFunction]] |
| 417 value : { |
| 418 className : GeneratorFunction |
| 419 description : function* foo() { yield 1; } |
| 420 objectId : <objectId> |
| 421 type : function |
| 422 } |
| 423 } |
| 424 [2] : { |
| 425 name : [[GeneratorReceiver]] |
| 426 value : { |
| 427 className : global |
| 428 description : global |
| 429 objectId : <objectId> |
| 430 type : object |
| 431 } |
| 432 } |
| 433 [3] : { |
| 434 name : [[GeneratorLocation]] |
| 435 value : { |
| 436 description : Object |
| 437 subtype : internal#location |
| 438 type : object |
| 439 value : { |
| 440 columnNumber : 2 |
| 441 lineNumber : 9 |
| 442 scriptId : <scriptId> |
| 443 } |
| 444 } |
| 445 } |
| 446 ] |
| 447 } |
| 448 } |
| 449 expression: gen2.next();gen2 |
| 450 { |
| 451 id : <messageId> |
| 452 result : { |
| 453 internalProperties : [ |
| 454 [0] : { |
| 455 name : [[GeneratorStatus]] |
| 456 value : { |
| 457 type : string |
| 458 value : closed |
| 459 } |
| 460 } |
| 461 [1] : { |
| 462 name : [[GeneratorFunction]] |
| 463 value : { |
| 464 className : GeneratorFunction |
| 465 description : function* foo() { yield 1; } |
| 466 objectId : <objectId> |
| 467 type : function |
| 468 } |
| 469 } |
| 470 [2] : { |
| 471 name : [[GeneratorReceiver]] |
| 472 value : { |
| 473 className : global |
| 474 description : global |
| 475 objectId : <objectId> |
| 476 type : object |
| 477 } |
| 478 } |
| 479 [3] : { |
| 480 name : [[GeneratorLocation]] |
| 481 value : { |
| 482 description : Object |
| 483 subtype : internal#location |
| 484 type : object |
| 485 value : { |
| 486 columnNumber : 13 |
| 487 lineNumber : 8 |
| 488 scriptId : <scriptId> |
| 489 } |
| 490 } |
| 491 } |
| 492 ] |
| 493 } |
| 494 } |
| 495 |
| 244 Running test: iteratorObject | 496 Running test: iteratorObject |
| 245 expression: (new Map([[1,2]])).entries() | 497 expression: (new Map([[1,2]])).entries() |
| 246 { | 498 { |
| 247 id : <messageId> | 499 id : <messageId> |
| 248 result : { | 500 result : { |
| 249 internalProperties : [ | 501 internalProperties : [ |
| 250 [0] : { | 502 [0] : { |
| 251 name : [[IteratorHasMore]] | 503 name : [[IteratorHasMore]] |
| 252 value : { | 504 value : { |
| 253 type : boolean | 505 type : boolean |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 className : Array | 567 className : Array |
| 316 description : Array(1) | 568 description : Array(1) |
| 317 objectId : <objectId> | 569 objectId : <objectId> |
| 318 subtype : array | 570 subtype : array |
| 319 type : object | 571 type : object |
| 320 } | 572 } |
| 321 } | 573 } |
| 322 ] | 574 ] |
| 323 } | 575 } |
| 324 } | 576 } |
| OLD | NEW |