Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: Source/devtools/protocol.json

Issue 1295903005: [DevTools] Implementation of resource requests blocked by specific urls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 "description": "Returns content served for the given request.", 1351 "description": "Returns content served for the given request.",
1352 "parameters": [ 1352 "parameters": [
1353 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of the network request to get content for." } 1353 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of the network request to get content for." }
1354 ], 1354 ],
1355 "returns": [ 1355 "returns": [
1356 { "name": "body", "type": "string", "description": "Response body." }, 1356 { "name": "body", "type": "string", "description": "Response body." },
1357 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was sent as base64." } 1357 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was sent as base64." }
1358 ] 1358 ]
1359 }, 1359 },
1360 { 1360 {
1361 "name": "addBlockedURL",
1362 "description": "Blocks specific URL from loading.",
1363 "parameters": [
1364 { "name": "url", "type": "string", "description": "URL to bl ock." }
1365 ],
1366 "hidden": true
1367 },
1368 {
1369 "name": "removeBlockedURL",
1370 "description": "Cancels blocking of a specific URL from loading. ",
1371 "parameters": [
1372 { "name": "url", "type": "string", "description": "URL to st op blocking." }
1373 ],
1374 "hidden": true
1375 },
1376 {
1361 "name": "replayXHR", 1377 "name": "replayXHR",
1362 "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.", 1378 "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.",
1363 "parameters": [ 1379 "parameters": [
1364 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of XHR to replay." } 1380 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of XHR to replay." }
1365 ], 1381 ],
1366 "hidden": true 1382 "hidden": true
1367 }, 1383 },
1368 { 1384 {
1369 "name": "setMonitoringXHREnabled", 1385 "name": "setMonitoringXHREnabled",
1370 "parameters": [ 1386 "parameters": [
(...skipping 3776 matching lines...) Expand 10 before | Expand all | Expand 10 after
5147 ], 5163 ],
5148 "returns": [ 5164 "returns": [
5149 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5165 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5150 ], 5166 ],
5151 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5167 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5152 "hidden": true 5168 "hidden": true
5153 } 5169 }
5154 ] 5170 ]
5155 }] 5171 }]
5156 } 5172 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698