| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 "hidden": true, |
| 137 "description": "Detailed information on exception (or error) tha
t was thrown during script compilation or execution.", | 137 "description": "Detailed information about exception (or error)
that was thrown during script compilation or execution.", |
| 138 "properties": [ | 138 "properties": [ |
| 139 { "name": "text", "type": "string", "description": "Exceptio
n text." }, | 139 { "name": "text", "type": "string", "description": "Exceptio
n text." }, |
| 140 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, | 140 { "name": "scriptId", "$ref": "ScriptId", "description": "Sc
ript ID of the exception location." }, |
| 141 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, | 141 { "name": "lineNumber", "type": "integer", "description": "L
ine number of the exception location (0-based)." }, |
| 142 { "name": "lineNumber", "type": "integer", "optional": true,
"description": "Line number in the resource that generated this message. (0-bas
ed)." }, | 142 { "name": "columnNumber", "type": "integer", "description":
"Column number of the exception location (0-based)." }, |
| 143 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Column number in the resource that generated this message. (0
-based)." }, | 143 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the exception location, to be used when the script was not repor
ted." }, |
| 144 { "name": "stack", "$ref": "StackTrace", "optional": true, "
description": "JavaScript stack trace for assertions and error messages." } | 144 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr
ue, "description": "JavaScript stack trace if available." } |
| 145 ] | 145 ] |
| 146 }, | 146 }, |
| 147 { | 147 { |
| 148 "id": "CallFrame", | 148 "id": "CallFrame", |
| 149 "type": "object", | 149 "type": "object", |
| 150 "description": "Stack entry for runtime errors and assertions.", | 150 "description": "Stack entry for runtime errors and assertions.", |
| 151 "properties": [ | 151 "properties": [ |
| 152 { "name": "functionName", "type": "string", "description": "
JavaScript function name." }, | 152 { "name": "functionName", "type": "string", "description": "
JavaScript function name." }, |
| 153 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja
vaScript script id." }, | 153 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja
vaScript script id." }, |
| 154 { "name": "url", "type": "string", "description": "JavaScrip
t script name or url." }, | 154 { "name": "url", "type": "string", "description": "JavaScrip
t script name or url." }, |
| (...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 { | 992 { |
| 993 "name": "heapStatsUpdate", | 993 "name": "heapStatsUpdate", |
| 994 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 994 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
| 995 "parameters": [ | 995 "parameters": [ |
| 996 { "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."} | 996 { "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."} |
| 997 ] | 997 ] |
| 998 } | 998 } |
| 999 ] | 999 ] |
| 1000 }] | 1000 }] |
| 1001 } | 1001 } |
| OLD | NEW |