v8/test/inspector/runtime/query-objects-expected.txt
Alexey Kozyatinskiy d01fc272fc [inspector] improved queryObjects command line API
API resolves functions to its .prototype property to make possible
queries like queryObjects(Object), queryObjects(HTMLElement), e.t.c.

R=dgozman@chromium.org

Bug: v8:6732
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ie8dc2288fa7e59c69f9b2647a9d5e35f0ac9215f
Reviewed-on: https://chromium-review.googlesource.com/630244
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47561}
2017-08-24 00:50:52 +00:00

97 lines
2.0 KiB
Plaintext

Checks Runtime.queryObjects
Running test: testClass
Declare class Foo & store its constructor.
Create object with class Foo.
Query objects with Foo prototype.
Dump each object constructor name.
[
[0] : Foo,object
]
Create object with class Foo.
Query objects with Foo prototype.
Dump each object constructor name.
[
[0] : Foo,object
[1] : Foo,object
]
Running test: testDerivedNewClass
Declare class Foo & store its constructor.
Declare class Boo extends Foo & store its constructor.
Query objects with Foo prototype.
Dump each object constructor name.
[
[0] : Boo,object
]
Query objects with Boo prototype.
Dump each object constructor name.
[
]
Create object with class Foo
Query objects with Foo prototype.
Dump each object constructor name.
[
[0] : Boo,object
[1] : Foo,object
]
Create object with class Boo
Query objects with Foo prototype.
Dump each object constructor name.
[
[0] : Boo,object
[1] : Boo,object
[2] : Foo,object
]
Query objects with Boo prototype.
Dump each object constructor name.
[
[0] : Boo,object
]
Running test: testNewFunction
Declare Foo & store it.
Create object using Foo.
Query objects with Foo prototype.
Dump each object constructor name.
[
[0] : Foo,object
]
Create object using Foo.
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.
Dump each object constructor name.
[
]
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
]