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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 { "name": "deoptReason", "type": "string", "experimental": t
rue, "description": "The reason of being not optimized. The function may be deop
timized or marked as don't optimize."}, | 784 { "name": "deoptReason", "type": "string", "experimental": t
rue, "description": "The reason of being not optimized. The function may be deop
timized or marked as don't optimize."}, |
785 { "name": "positionTicks", "type": "array", "items": { "$ref
": "PositionTickInfo" }, "experimental": true, "description": "An array of sourc
e position ticks." } | 785 { "name": "positionTicks", "type": "array", "items": { "$ref
": "PositionTickInfo" }, "experimental": true, "description": "An array of sourc
e position ticks." } |
786 ] | 786 ] |
787 }, | 787 }, |
788 { | 788 { |
789 "id": "CPUProfile", | 789 "id": "CPUProfile", |
790 "type": "object", | 790 "type": "object", |
791 "description": "Profile.", | 791 "description": "Profile.", |
792 "properties": [ | 792 "properties": [ |
793 { "name": "nodes", "type": "array", "items": { "$ref": "CPUP
rofileNode" }, "description": "The list of profile nodes. First item is the root
node." }, | 793 { "name": "nodes", "type": "array", "items": { "$ref": "CPUP
rofileNode" }, "description": "The list of profile nodes. First item is the root
node." }, |
794 { "name": "startTime", "type": "number", "description": "Pro
filing start time in seconds." }, | 794 { "name": "startTime", "type": "number", "description": "Pro
filing start timestamp in microseconds." }, |
795 { "name": "endTime", "type": "number", "description": "Profi
ling end time in seconds." }, | 795 { "name": "endTime", "type": "number", "description": "Profi
ling end timestamp in microseconds." }, |
796 { "name": "samples", "optional": true, "type": "array", "ite
ms": { "type": "integer" }, "description": "Ids of samples top nodes." }, | 796 { "name": "samples", "optional": true, "type": "array", "ite
ms": { "type": "integer" }, "description": "Ids of samples top nodes." }, |
797 { "name": "timestamps", "optional": true, "type": "array", "
items": { "type": "number" }, "description": "Timestamps of the samples in micro
seconds." } | 797 { "name": "timestampDeltas", "optional": true, "type": "arra
y", "items": { "type": "integer" }, "description": "Deltas between adjacent samp
le timestamps in microseconds. The first delta is relative to the profile startT
ime." } |
798 ] | 798 ] |
799 }, | 799 }, |
800 { | 800 { |
801 "id": "PositionTickInfo", | 801 "id": "PositionTickInfo", |
802 "type": "object", | 802 "type": "object", |
803 "experimental": true, | 803 "experimental": true, |
804 "description": "Specifies a number of samples attributed to a ce
rtain source position.", | 804 "description": "Specifies a number of samples attributed to a ce
rtain source position.", |
805 "properties": [ | 805 "properties": [ |
806 { "name": "line", "type": "integer", "description": "Source
line number (1-based)." }, | 806 { "name": "line", "type": "integer", "description": "Source
line number (1-based)." }, |
807 { "name": "ticks", "type": "integer", "description": "Number
of samples attributed to the source line." } | 807 { "name": "ticks", "type": "integer", "description": "Number
of samples attributed to the source line." } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 { | 978 { |
979 "name": "heapStatsUpdate", | 979 "name": "heapStatsUpdate", |
980 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 980 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
981 "parameters": [ | 981 "parameters": [ |
982 { "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."} | 982 { "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."} |
983 ] | 983 ] |
984 } | 984 } |
985 ] | 985 ] |
986 }] | 986 }] |
987 } | 987 } |
OLD | NEW |