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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 "parameters": [ | 705 "parameters": [ |
706 { "name": "breakpointId", "$ref": "BreakpointId", "descripti
on": "Breakpoint unique identifier." }, | 706 { "name": "breakpointId", "$ref": "BreakpointId", "descripti
on": "Breakpoint unique identifier." }, |
707 { "name": "location", "$ref": "Location", "description": "Ac
tual breakpoint location." } | 707 { "name": "location", "$ref": "Location", "description": "Ac
tual breakpoint location." } |
708 ], | 708 ], |
709 "description": "Fired when breakpoint is resolved to an actual s
cript and location." | 709 "description": "Fired when breakpoint is resolved to an actual s
cript and location." |
710 }, | 710 }, |
711 { | 711 { |
712 "name": "paused", | 712 "name": "paused", |
713 "parameters": [ | 713 "parameters": [ |
714 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, | 714 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, |
715 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM"
, "EventListener", "exception", "assert", "CSPViolation", "debugCommand", "promi
seRejection", "other" ], "description": "Pause reason." }, | 715 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM"
, "EventListener", "exception", "assert", "debugCommand", "promiseRejection", "o
ther" ], "description": "Pause reason." }, |
716 { "name": "data", "type": "object", "optional": true, "descr
iption": "Object containing break-specific auxiliary properties." }, | 716 { "name": "data", "type": "object", "optional": true, "descr
iption": "Object containing break-specific auxiliary properties." }, |
717 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden"
: true }, | 717 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden"
: true }, |
718 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any.", "hidden": true } | 718 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any.", "hidden": true } |
719 ], | 719 ], |
720 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." | 720 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." |
721 }, | 721 }, |
722 { | 722 { |
723 "name": "resumed", | 723 "name": "resumed", |
724 "description": "Fired when the virtual machine resumed execution
." | 724 "description": "Fired when the virtual machine resumed execution
." |
725 } | 725 } |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 { | 1014 { |
1015 "name": "heapStatsUpdate", | 1015 "name": "heapStatsUpdate", |
1016 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 1016 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
1017 "parameters": [ | 1017 "parameters": [ |
1018 { "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."} | 1018 { "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."} |
1019 ] | 1019 ] |
1020 } | 1020 } |
1021 ] | 1021 ] |
1022 }] | 1022 }] |
1023 } | 1023 } |
OLD | NEW |