OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "experimental": true, | 5 "experimental": 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 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 "description": "Returns content served for the given request.", | 1190 "description": "Returns content served for the given request.", |
1191 "parameters": [ | 1191 "parameters": [ |
1192 { "name": "requestId", "$ref": "RequestId", "description": "
Identifier of the network request to get content for." } | 1192 { "name": "requestId", "$ref": "RequestId", "description": "
Identifier of the network request to get content for." } |
1193 ], | 1193 ], |
1194 "returns": [ | 1194 "returns": [ |
1195 { "name": "body", "type": "string", "description": "Response
body." }, | 1195 { "name": "body", "type": "string", "description": "Response
body." }, |
1196 { "name": "base64Encoded", "type": "boolean", "description":
"True, if content was sent as base64." } | 1196 { "name": "base64Encoded", "type": "boolean", "description":
"True, if content was sent as base64." } |
1197 ] | 1197 ] |
1198 }, | 1198 }, |
1199 { | 1199 { |
1200 "name": "addBlockedURL", | 1200 "name": "setBlockedURLs", |
1201 "description": "Blocks specific URL from loading.", | 1201 "description": "Blocks specific URL from loading.", |
1202 "parameters": [ | 1202 "parameters": [ |
1203 { "name": "url", "type": "string", "description": "URL to bl
ock." } | 1203 { "name": "urls", "type": "array", "items": { "type": "strin
g" }, "description": "URLs to block." } |
1204 ], | 1204 ], |
1205 "experimental": true | 1205 "experimental": true |
1206 }, | 1206 }, |
1207 { | |
1208 "name": "removeBlockedURL", | |
1209 "description": "Cancels blocking of a specific URL from loading.
", | |
1210 "parameters": [ | |
1211 { "name": "url", "type": "string", "description": "URL to st
op blocking." } | |
1212 ], | |
1213 "experimental": true | |
1214 }, | |
1215 { | 1207 { |
1216 "name": "replayXHR", | 1208 "name": "replayXHR", |
1217 "description": "This method sends a new XMLHttpRequest which is
identical to the original one. The following parameters should be identical: met
hod, url, async, request body, extra headers, withCredentials attribute, user, p
assword.", | 1209 "description": "This method sends a new XMLHttpRequest which is
identical to the original one. The following parameters should be identical: met
hod, url, async, request body, extra headers, withCredentials attribute, user, p
assword.", |
1218 "parameters": [ | 1210 "parameters": [ |
1219 { "name": "requestId", "$ref": "RequestId", "description": "
Identifier of XHR to replay." } | 1211 { "name": "requestId", "$ref": "RequestId", "description": "
Identifier of XHR to replay." } |
1220 ], | 1212 ], |
1221 "experimental": true | 1213 "experimental": true |
1222 }, | 1214 }, |
1223 { | 1215 { |
1224 "name": "setMonitoringXHREnabled", | 1216 "name": "setMonitoringXHREnabled", |
(...skipping 3328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4553 "name": "accepted", | 4545 "name": "accepted", |
4554 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4546 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4555 "parameters": [ | 4547 "parameters": [ |
4556 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4548 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4557 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4549 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4558 ] | 4550 ] |
4559 } | 4551 } |
4560 ] | 4552 ] |
4561 }] | 4553 }] |
4562 } | 4554 } |
OLD | NEW |