OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [ |
| 4 { |
| 5 "domain": "Schema", |
| 6 "description": "Provides information about the protocol schema.", |
| 7 "experimental": true, |
| 8 "types": [ |
| 9 { |
| 10 "id": "Domain", |
| 11 "type": "object", |
| 12 "description": "Description of the protocol domain.", |
| 13 "exported": true, |
| 14 "properties": [ |
| 15 { "name": "name", "type": "string", "description": "Domain n
ame." }, |
| 16 { "name": "version", "type": "string", "description": "Domai
n version." } |
| 17 ] |
| 18 } |
| 19 ], |
| 20 "commands": [ |
| 21 { |
| 22 "name": "getDomains", |
| 23 "description": "Returns supported domains.", |
| 24 "handlers": ["browser", "renderer"], |
| 25 "returns": [ |
| 26 { "name": "domains", "type": "array", "items": { "$ref": "Do
main" }, "description": "List of supported domains." } |
| 27 ] |
| 28 } |
| 29 ] |
| 30 }, |
| 31 { |
4 "domain": "Runtime", | 32 "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.", | 33 "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": [ | 34 "types": [ |
7 { | 35 { |
8 "id": "ScriptId", | 36 "id": "ScriptId", |
9 "type": "string", | 37 "type": "string", |
10 "description": "Unique script identifier." | 38 "description": "Unique script identifier." |
11 }, | 39 }, |
12 { | 40 { |
13 "id": "RemoteObjectId", | 41 "id": "RemoteObjectId", |
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 { | 1006 { |
979 "name": "heapStatsUpdate", | 1007 "name": "heapStatsUpdate", |
980 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 1008 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
981 "parameters": [ | 1009 "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."} | 1010 { "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 ] | 1011 ] |
984 } | 1012 } |
985 ] | 1013 ] |
986 }] | 1014 }] |
987 } | 1015 } |
OLD | NEW |