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 { | |
4135 "name": "categories", | |
pfeldman
2014/06/18 03:35:00
nit: we use line-per parameter code style here.
chrishenry
2014/06/18 16:55:43
Done.
| |
4136 "type": "array", | |
4137 "items": { "type": "string" }, | |
4138 "description": "A list of supported tracing categories." | |
4139 } | |
4140 ], | |
4141 "handlers": ["browser", "frontend"] | |
4129 } | 4142 } |
4130 ], | 4143 ], |
4131 "events": [ | 4144 "events": [ |
4132 { | 4145 { |
4133 "name": "dataCollected", | 4146 "name": "dataCollected", |
4134 "parameters": [ | 4147 "parameters": [ |
4135 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 4148 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
4136 ], | 4149 ], |
4137 "description": "Contains an bucket of collected trace events.", | 4150 "description": "Contains an bucket of collected trace events.", |
4138 "handlers": ["browser", "frontend"] | 4151 "handlers": ["browser", "frontend"] |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4193 { | 4206 { |
4194 "name": "dataAvailable", | 4207 "name": "dataAvailable", |
4195 "parameters": [ | 4208 "parameters": [ |
4196 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4209 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
4197 ], | 4210 ], |
4198 "handlers": ["browser", "frontend"] | 4211 "handlers": ["browser", "frontend"] |
4199 } | 4212 } |
4200 ] | 4213 ] |
4201 }] | 4214 }] |
4202 } | 4215 } |
OLD | NEW |