2017-08-19 00:27:52 +00:00
|
|
|
Checks Runtime.queryObjects
|
|
|
|
|
|
|
|
Running test: testClass
|
|
|
|
Declare class Foo & store its constructor.
|
|
|
|
Create object with class Foo.
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Foo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
|
|
|
Create object with class Foo.
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Foo,object
|
|
|
|
[1] : Foo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
Running test: testDerivedNewClass
|
|
|
|
Declare class Foo & store its constructor.
|
|
|
|
Declare class Boo extends Foo & store its constructor.
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Boo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Boo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
|
|
|
]
|
|
|
|
Create object with class Foo
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Boo,object
|
|
|
|
[1] : Foo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
|
|
|
Create object with class Boo
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Boo,object
|
|
|
|
[1] : Boo,object
|
|
|
|
[2] : Foo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Boo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Boo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
Running test: testNewFunction
|
|
|
|
Declare Foo & store it.
|
|
|
|
Create object using Foo.
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
2017-08-23 19:40:46 +00:00
|
|
|
[0] : Foo,object
|
2017-08-19 00:27:52 +00:00
|
|
|
]
|
|
|
|
Create object using Foo.
|
2017-08-23 19:40:46 +00:00
|
|
|
Query objects with Foo prototype.
|
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
|
|
|
[0] : Foo,object
|
|
|
|
[1] : Foo,object
|
|
|
|
]
|
|
|
|
|
|
|
|
Running test: testNonInspectable
|
|
|
|
Declare Foo & store it.
|
|
|
|
Create object using Foo.
|
|
|
|
Query objects with Foo prototype.
|
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
|
|
|
[0] : Foo,object
|
|
|
|
]
|
|
|
|
Mark object as not inspectable.
|
|
|
|
Query objects with Foo prototype.
|
2017-08-19 00:27:52 +00:00
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
|
|
|
]
|
2017-08-24 00:03:53 +00:00
|
|
|
|
|
|
|
Running test: testObjectCreate
|
|
|
|
Declare Object p & store it.
|
|
|
|
Create object using Object.create(p).
|
|
|
|
Query objects with p prototype.
|
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
|
|
|
[0] : Object,object
|
|
|
|
]
|
|
|
|
Create object using Object.create(p).
|
|
|
|
Query objects with p prototype.
|
|
|
|
Dump each object constructor name.
|
|
|
|
[
|
|
|
|
[0] : Object,object
|
|
|
|
[1] : Object,object
|
|
|
|
]
|
2018-03-14 05:25:12 +00:00
|
|
|
|
2019-06-11 02:15:08 +00:00
|
|
|
Running test: testQueryObjectsWithFeedbackVector
|
|
|
|
Before/After difference: 1
|
|
|
|
|
2020-04-16 12:01:52 +00:00
|
|
|
Running test: testQueryObjectsWithArrayBuffer
|
|
|
|
Test that queryObjects does not crash for on-heap TypedArrays
|
|
|
|
|
2018-03-14 05:25:12 +00:00
|
|
|
Running test: testWithObjectGroup
|
|
|
|
Query for Array.prototype 3 times
|
|
|
|
Results since initial: 0
|
|
|
|
Results since initial: 1
|
|
|
|
Results since initial: 2
|
|
|
|
|
|
|
|
Released object group.
|
|
|
|
Results since initial: 0
|