Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2253383002: [DevTools] Schema domain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [
4 {
5 "domain": "Meta",
pfeldman 2016/08/18 20:25:32 Schema
dgozman 2016/08/22 15:52:02 Done.
6 "description": "Provides meta information about the protocol.",
7 "experimental": true,
8 "types": [
9 {
10 "id": "DomainDescription",
pfeldman 2016/08/18 20:25:32 Domain
dgozman 2016/08/22 15:52:02 Done.
11 "type": "object",
12 "description": "Description of 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 "returns": [
25 { "name": "domains", "type": "array", "items": { "$ref": "Do mainDescription" }, "description": "List of supported domains." }
26 ]
27 }
28 ]
29 },
30 {
4 "domain": "Runtime", 31 "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.", 32 "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": [ 33 "types": [
7 { 34 {
8 "id": "ScriptId", 35 "id": "ScriptId",
9 "type": "string", 36 "type": "string",
10 "description": "Unique script identifier." 37 "description": "Unique script identifier."
11 }, 38 },
12 { 39 {
13 "id": "RemoteObjectId", 40 "id": "RemoteObjectId",
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 { 1005 {
979 "name": "heapStatsUpdate", 1006 "name": "heapStatsUpdate",
980 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1007 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
981 "parameters": [ 1008 "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."} 1009 { "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 ] 1010 ]
984 } 1011 }
985 ] 1012 ]
986 }] 1013 }]
987 } 1014 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698