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 4175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4186 "handlers": ["browser", "frontend"] | 4186 "handlers": ["browser", "frontend"] |
4187 }, | 4187 }, |
4188 { | 4188 { |
4189 "name": "canProfilePower", | 4189 "name": "canProfilePower", |
4190 "description": "Tells whether power profiling is supported.", | 4190 "description": "Tells whether power profiling is supported.", |
4191 "returns": [ | 4191 "returns": [ |
4192 { "name": "result", "type": "boolean", "description": "True if
power profiling is supported." } | 4192 { "name": "result", "type": "boolean", "description": "True if
power profiling is supported." } |
4193 ], | 4193 ], |
4194 "hidden": true, | 4194 "hidden": true, |
4195 "handlers": ["browser", "frontend"] | 4195 "handlers": ["browser", "frontend"] |
| 4196 }, |
| 4197 { |
| 4198 "name": "getAccuracyLevel", |
| 4199 "description": "Describes the accuracy level of the data provide
r.", |
| 4200 "returns": [ |
| 4201 { "name": "result", "type": "string", "enum": ["high", "mode
rate", "low"] } |
| 4202 ], |
| 4203 "handlers": ["browser", "frontend"] |
4196 } | 4204 } |
4197 ], | 4205 ], |
4198 "events": [ | 4206 "events": [ |
4199 { | 4207 { |
4200 "name": "dataAvailable", | 4208 "name": "dataAvailable", |
4201 "parameters": [ | 4209 "parameters": [ |
4202 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4210 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4203 ], | 4211 ], |
4204 "handlers": ["browser", "frontend"] | 4212 "handlers": ["browser", "frontend"] |
4205 } | 4213 } |
4206 ] | 4214 ] |
4207 }] | 4215 }] |
4208 } | 4216 } |
OLD | NEW |