summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/runtime/query-objects-expected.txt
blob: db1640298662245742d449c2e9d446edc6a1f462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
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
]

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