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 4165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4176 "handlers": ["browser", "frontend"] | 4176 "handlers": ["browser", "frontend"] |
4177 }, | 4177 }, |
4178 { | 4178 { |
4179 "name": "canProfilePower", | 4179 "name": "canProfilePower", |
4180 "description": "Tells whether power profiling is supported.", | 4180 "description": "Tells whether power profiling is supported.", |
4181 "returns": [ | 4181 "returns": [ |
4182 { "name": "result", "type": "boolean", "description": "True if power profiling is supported." } | 4182 { "name": "result", "type": "boolean", "description": "True if power profiling is supported." } |
4183 ], | 4183 ], |
4184 "hidden": true, | 4184 "hidden": true, |
4185 "handlers": ["browser", "frontend"] | 4185 "handlers": ["browser", "frontend"] |
4186 }, | |
4187 { | |
4188 "name": "accuracyLevel", | |
yurys
2014/06/17 07:38:39
style: getAccuracyLevel
| |
4189 "description": "Describes the accuracy level of the data provide r.", | |
4190 "returns": [ | |
4191 { "name": "result", "type": "string", "enum": ["high", "medi um", "low"] } | |
4192 ], | |
4193 "handlers": ["browser", "frontend"] | |
4186 } | 4194 } |
4187 ], | 4195 ], |
4188 "events": [ | 4196 "events": [ |
4189 { | 4197 { |
4190 "name": "dataAvailable", | 4198 "name": "dataAvailable", |
4191 "parameters": [ | 4199 "parameters": [ |
4192 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4200 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
4193 ], | 4201 ], |
4194 "handlers": ["browser", "frontend"] | 4202 "handlers": ["browser", "frontend"] |
4195 } | 4203 } |
4196 ] | 4204 ] |
4197 }] | 4205 }] |
4198 } | 4206 } |
OLD | NEW |