OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Runtime", | 4 "domain": "Runtime", |
5 "description": "Runtime domain exposes JavaScript runtime by means of re
mote evaluation and mirror objects. Evaluation results are returned as mirror ob
ject that expose object type, string representation and unique identifier that c
an be used for further object reference. Original objects are maintained in memo
ry unless they are either explicitly released or are released along with the oth
er objects in their object group.", | 5 "description": "Runtime domain exposes JavaScript runtime by means of re
mote evaluation and mirror objects. Evaluation results are returned as mirror ob
ject that expose object type, string representation and unique identifier that c
an be used for further object reference. Original objects are maintained in memo
ry unless they are either explicitly released or are released along with the oth
er objects in their object group.", |
6 "types": [ | 6 "types": [ |
7 { | 7 { |
8 "id": "ScriptId", | 8 "id": "ScriptId", |
9 "type": "string", | 9 "type": "string", |
10 "description": "Unique script identifier." | 10 "description": "Unique script identifier." |
11 }, | 11 }, |
12 { | 12 { |
13 "id": "RemoteObjectId", | 13 "id": "RemoteObjectId", |
14 "type": "string", | 14 "type": "string", |
15 "description": "Unique object identifier." | 15 "description": "Unique object identifier." |
16 }, | 16 }, |
17 { | 17 { |
| 18 "id": "UnserializableValue", |
| 19 "type": "string", |
| 20 "enum": ["Infinity", "NaN", "-Infinity", "-0"], |
| 21 "description": "Primitive value which cannot be JSON-stringified
." |
| 22 }, |
| 23 { |
18 "id": "RemoteObject", | 24 "id": "RemoteObject", |
19 "type": "object", | 25 "type": "object", |
20 "description": "Mirror object referencing original JavaScript ob
ject.", | 26 "description": "Mirror object referencing original JavaScript ob
ject.", |
21 "exported": true, | 27 "exported": true, |
22 "properties": [ | 28 "properties": [ |
23 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, | 29 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, |
24 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene
rator", "error", "proxy", "promise", "typedarray"], "description": "Object subty
pe hint. Specified for <code>object</code> type values only." }, | 30 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene
rator", "error", "proxy", "promise", "typedarray"], "description": "Object subty
pe hint. Specified for <code>object</code> type values only." }, |
25 { "name": "className", "type": "string", "optional": true, "
description": "Object class (constructor) name. Specified for <code>object</code
> type values only." }, | 31 { "name": "className", "type": "string", "optional": true, "
description": "Object class (constructor) name. Specified for <code>object</code
> type values only." }, |
26 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Remote object value in case of primitive values or JSON values (if it wa
s requested), or description string if the value can not be JSON-stringified (li
ke NaN, Infinity, -Infinity, -0)." }, | 32 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Remote object value in case of primitive values or JSON values (if it wa
s requested)." }, |
| 33 { "name": "unserializableValue", "$ref": "UnserializableValu
e", "optional": true, "hidden": true, "description": "Primitive value which can
not be JSON-stringified does not have <code>value</code>, but gets this property
." }, |
27 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, | 34 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, |
28 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Unique object identifier (for non-primitive values)." }, | 35 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Unique object identifier (for non-primitive values)." }, |
29 { "name": "preview", "$ref": "ObjectPreview", "optional": tr
ue, "description": "Preview containing abbreviated property values. Specified fo
r <code>object</code> type values only.", "hidden": true }, | 36 { "name": "preview", "$ref": "ObjectPreview", "optional": tr
ue, "description": "Preview containing abbreviated property values. Specified fo
r <code>object</code> type values only.", "hidden": true }, |
30 { "name": "customPreview", "$ref": "CustomPreview", "optiona
l": true, "hidden": true} | 37 { "name": "customPreview", "$ref": "CustomPreview", "optiona
l": true, "hidden": true} |
31 ] | 38 ] |
32 }, | 39 }, |
33 { | 40 { |
34 "id": "CustomPreview", | 41 "id": "CustomPreview", |
35 "type": "object", | 42 "type": "object", |
36 "hidden": true, | 43 "hidden": true, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 "description": "Object internal property descriptor. This proper
ty isn't normally visible in JavaScript code.", | 107 "description": "Object internal property descriptor. This proper
ty isn't normally visible in JavaScript code.", |
101 "properties": [ | 108 "properties": [ |
102 { "name": "name", "type": "string", "description": "Conventi
onal property name." }, | 109 { "name": "name", "type": "string", "description": "Conventi
onal property name." }, |
103 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." } | 110 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." } |
104 ], | 111 ], |
105 "hidden": true | 112 "hidden": true |
106 }, | 113 }, |
107 { | 114 { |
108 "id": "CallArgument", | 115 "id": "CallArgument", |
109 "type": "object", | 116 "type": "object", |
110 "description": "Represents function call argument. Either remote
object id <code>objectId</code> or primitive <code>value</code> or neither of (
for undefined) them should be specified.", | 117 "description": "Represents function call argument. Either remote
object id <code>objectId</code>, primitive <code>value</code>, unserializable p
rimitive value or neither of (for undefined) them should be specified.", |
111 "properties": [ | 118 "properties": [ |
112 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Primitive value, or description string if the value can not be JSON-stri
ngified (like NaN, Infinity, -Infinity, -0)." }, | 119 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Primitive value." }, |
113 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Remote object handle." }, | 120 { "name": "unserializableValue", "$ref": "UnserializableValu
e", "optional": true, "hidden": true, "description": "Primitive value which can
not be JSON-stringified." }, |
114 { "name": "type", "optional": true, "hidden": true, "type":
"string", "enum": ["object", "function", "undefined", "string", "number", "boole
an", "symbol"], "description": "Object type." } | 121 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Remote object handle." } |
115 ] | 122 ] |
116 }, | 123 }, |
117 { | 124 { |
118 "id": "ExecutionContextId", | 125 "id": "ExecutionContextId", |
119 "type": "integer", | 126 "type": "integer", |
120 "description": "Id of an execution context." | 127 "description": "Id of an execution context." |
121 }, | 128 }, |
122 { | 129 { |
123 "id": "ExecutionContextDescription", | 130 "id": "ExecutionContextDescription", |
124 "type": "object", | 131 "type": "object", |
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 { | 1017 { |
1011 "name": "heapStatsUpdate", | 1018 "name": "heapStatsUpdate", |
1012 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 1019 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
1013 "parameters": [ | 1020 "parameters": [ |
1014 { "name": "statsUpdate", "type": "array", "items": { "type":
"integer" }, "description": "An array of triplets. Each triplet describes a fra
gment. The first integer is the fragment index, the second integer is a total co
unt of objects for the fragment, the third integer is a total size of the object
s for the fragment."} | 1021 { "name": "statsUpdate", "type": "array", "items": { "type":
"integer" }, "description": "An array of triplets. Each triplet describes a fra
gment. The first integer is the fragment index, the second integer is a total co
unt of objects for the fragment, the third integer is a total size of the object
s for the fragment."} |
1015 ] | 1022 ] |
1016 } | 1023 } |
1017 ] | 1024 ] |
1018 }] | 1025 }] |
1019 } | 1026 } |
OLD | NEW |