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." |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 { "name": "id", "$ref": "ExecutionContextId", "description":
"Unique id of the execution context. It can be used to specify in which executi
on context script evaluation should be performed." }, | 126 { "name": "id", "$ref": "ExecutionContextId", "description":
"Unique id of the execution context. It can be used to specify in which executi
on context script evaluation should be performed." }, |
127 { "name": "isDefault", "type": "boolean", "description": "Wh
ether context is the default page context (as opposite to e.g. context of conten
t script).", "hidden": true }, | 127 { "name": "isDefault", "type": "boolean", "description": "Wh
ether context is the default page context (as opposite to e.g. context of conten
t script).", "hidden": true }, |
128 { "name": "origin", "type": "string", "description": "Execut
ion context origin.", "hidden": true}, | 128 { "name": "origin", "type": "string", "description": "Execut
ion context origin.", "hidden": true}, |
129 { "name": "name", "type": "string", "description": "Human re
adable name describing given context.", "hidden": true}, | 129 { "name": "name", "type": "string", "description": "Human re
adable name describing given context.", "hidden": true}, |
130 { "name": "frameId", "type": "string", "description": "Id of
the owning frame. May be an empty string if the context is not associated with
a frame." } | 130 { "name": "frameId", "type": "string", "description": "Id of
the owning frame. May be an empty string if the context is not associated with
a frame." } |
131 ] | 131 ] |
132 }, | 132 }, |
133 { | 133 { |
134 "id": "ExceptionDetails", | 134 "id": "ExceptionDetails", |
135 "type": "object", | 135 "type": "object", |
| 136 "hidden": true, |
136 "description": "Detailed information on exception (or error) tha
t was thrown during script compilation or execution.", | 137 "description": "Detailed information on exception (or error) tha
t was thrown during script compilation or execution.", |
137 "properties": [ | 138 "properties": [ |
138 { "name": "text", "type": "string", "description": "Exceptio
n text." }, | 139 { "name": "text", "type": "string", "description": "Exceptio
n text." }, |
139 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, | 140 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, |
140 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, | 141 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, |
141 { "name": "line", "type": "integer", "optional": true, "desc
ription": "Line number in the resource that generated this message." }, | 142 { "name": "lineNumber", "type": "integer", "optional": true,
"description": "Line number in the resource that generated this message. (0-bas
ed)." }, |
142 { "name": "column", "type": "integer", "optional": true, "de
scription": "Column number in the resource that generated this message." }, | 143 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Column number in the resource that generated this message. (0
-based)." }, |
143 { "name": "stack", "$ref": "StackTrace", "optional": true, "
description": "JavaScript stack trace for assertions and error messages." } | 144 { "name": "stack", "$ref": "StackTrace", "optional": true, "
description": "JavaScript stack trace for assertions and error messages." } |
144 ] | 145 ] |
145 }, | 146 }, |
146 { | 147 { |
147 "id": "CallFrame", | 148 "id": "CallFrame", |
148 "type": "object", | 149 "type": "object", |
149 "description": "Stack entry for runtime errors and assertions.", | 150 "description": "Stack entry for runtime errors and assertions.", |
150 "properties": [ | 151 "properties": [ |
151 { "name": "functionName", "type": "string", "description": "
JavaScript function name." }, | 152 { "name": "functionName", "type": "string", "description": "
JavaScript function name." }, |
152 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja
vaScript script id." }, | 153 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja
vaScript script id." }, |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 { | 994 { |
994 "name": "heapStatsUpdate", | 995 "name": "heapStatsUpdate", |
995 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 996 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
996 "parameters": [ | 997 "parameters": [ |
997 { "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."} | 998 { "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."} |
998 ] | 999 ] |
999 } | 1000 } |
1000 ] | 1001 ] |
1001 }] | 1002 }] |
1002 } | 1003 } |
OLD | NEW |