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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 "returns": [ | 1202 "returns": [ |
1203 { "name": "result", "type": "boolean", "description": "True
if browser cookies can be cleared." } | 1203 { "name": "result", "type": "boolean", "description": "True
if browser cookies can be cleared." } |
1204 ] | 1204 ] |
1205 }, | 1205 }, |
1206 { | 1206 { |
1207 "name": "clearBrowserCookies", | 1207 "name": "clearBrowserCookies", |
1208 "description": "Clears browser cookies.", | 1208 "description": "Clears browser cookies.", |
1209 "handlers": ["browser"] | 1209 "handlers": ["browser"] |
1210 }, | 1210 }, |
1211 { | 1211 { |
| 1212 "name": "canEmulateNetworkConditions", |
| 1213 "description": "Tells whether emulation of network conditions is
supported.", |
| 1214 "returns": [ |
| 1215 { "name": "result", "type": "boolean", "description": "True if
emulation of network conditions is supported." } |
| 1216 ], |
| 1217 "hidden": true, |
| 1218 "handlers": ["browser"] |
| 1219 }, |
| 1220 { |
1212 "name": "emulateNetworkConditions", | 1221 "name": "emulateNetworkConditions", |
1213 "description": "Activates emulation of network conditions.", | 1222 "description": "Activates emulation of network conditions.", |
1214 "parameters": [ | 1223 "parameters": [ |
1215 { "name": "offline", "type": "boolean", "description": "True
to emulate internet disconnection." }, | 1224 { "name": "offline", "type": "boolean", "description": "True
to emulate internet disconnection." }, |
1216 { "name": "latency", "type": "number", "description": "Addit
ional latency (ms)." }, | 1225 { "name": "latency", "type": "number", "description": "Addit
ional latency (ms)." }, |
1217 { "name": "downloadThroughput", "type": "number", "descripti
on": "Maximal aggregated download throughput." }, | 1226 { "name": "downloadThroughput", "type": "number", "descripti
on": "Maximal aggregated download throughput." }, |
1218 { "name": "uploadThroughput", "type": "number", "description
": "Maximal aggregated upload throughput." } | 1227 { "name": "uploadThroughput", "type": "number", "description
": "Maximal aggregated upload throughput." } |
1219 ], | 1228 ], |
1220 "hidden": true, | 1229 "hidden": true, |
1221 "handlers": ["browser", "renderer"] | 1230 "handlers": ["browser", "renderer"] |
(...skipping 3063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4285 { | 4294 { |
4286 "name": "dataAvailable", | 4295 "name": "dataAvailable", |
4287 "parameters": [ | 4296 "parameters": [ |
4288 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4297 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4289 ], | 4298 ], |
4290 "handlers": ["browser", "frontend"] | 4299 "handlers": ["browser", "frontend"] |
4291 } | 4300 } |
4292 ] | 4301 ] |
4293 }] | 4302 }] |
4294 } | 4303 } |
OLD | NEW |