OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
(...skipping 4108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4119 ], | 4119 ], |
4120 "returns": [ | 4120 "returns": [ |
4121 { "name": "sessionId", "type": "string", "description": "A s ystem-unique identifier of the tracing session that allows associating of some o f the trace events with the inspected page" } | 4121 { "name": "sessionId", "type": "string", "description": "A s ystem-unique identifier of the tracing session that allows associating of some o f the trace events with the inspected page" } |
4122 ], | 4122 ], |
4123 "handlers": ["browser", "renderer", "frontend"] | 4123 "handlers": ["browser", "renderer", "frontend"] |
4124 }, | 4124 }, |
4125 { | 4125 { |
4126 "name": "end", | 4126 "name": "end", |
4127 "description": "Stop trace events collection.", | 4127 "description": "Stop trace events collection.", |
4128 "handlers": ["browser", "frontend"] | 4128 "handlers": ["browser", "frontend"] |
4129 }, | |
4130 { | |
4131 "name": "getCategories", | |
4132 "description": "Gets supported tracing categories.", | |
4133 "returns": [ | |
4134 { "name": "categories", "type": "array", "description": "A l ist of supported tracing categories." } | |
caseq
2014/06/17 18:38:23
You probably want items: { "type": "string" } here
chrishenry
2014/06/17 18:53:41
Curious, why should this be string instead of an a
| |
4135 ], | |
4136 "handlers": ["browser", "frontend"] | |
chrishenry
2014/06/17 17:23:50
I'm not sure about this handlers field. Do you kno
caseq
2014/06/17 18:38:23
This one is correct (this tells the code generator
chrishenry
2014/06/17 18:53:41
Thank you!
I'm curious why Tracing.start needs to
| |
4129 } | 4137 } |
4130 ], | 4138 ], |
4131 "events": [ | 4139 "events": [ |
4132 { | 4140 { |
4133 "name": "dataCollected", | 4141 "name": "dataCollected", |
4134 "parameters": [ | 4142 "parameters": [ |
4135 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 4143 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
4136 ], | 4144 ], |
4137 "description": "Contains an bucket of collected trace events.", | 4145 "description": "Contains an bucket of collected trace events.", |
4138 "handlers": ["browser", "frontend"] | 4146 "handlers": ["browser", "frontend"] |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4193 { | 4201 { |
4194 "name": "dataAvailable", | 4202 "name": "dataAvailable", |
4195 "parameters": [ | 4203 "parameters": [ |
4196 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4204 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
4197 ], | 4205 ], |
4198 "handlers": ["browser", "frontend"] | 4206 "handlers": ["browser", "frontend"] |
4199 } | 4207 } |
4200 ] | 4208 ] |
4201 }] | 4209 }] |
4202 } | 4210 } |
OLD | NEW |