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

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: rebase Created 5 years, 3 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
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkManager.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 "description": "Returns content served for the given request.", 1352 "description": "Returns content served for the given request.",
1353 "parameters": [ 1353 "parameters": [
1354 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of the network request to get content for." } 1354 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of the network request to get content for." }
1355 ], 1355 ],
1356 "returns": [ 1356 "returns": [
1357 { "name": "body", "type": "string", "description": "Response body." }, 1357 { "name": "body", "type": "string", "description": "Response body." },
1358 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was sent as base64." } 1358 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was sent as base64." }
1359 ] 1359 ]
1360 }, 1360 },
1361 { 1361 {
1362 "name": "addBlockedURL",
1363 "description": "Blocks specific URL from loading.",
1364 "parameters": [
1365 { "name": "url", "type": "string", "description": "URL to bl ock." }
1366 ],
1367 "hidden": true
1368 },
1369 {
1370 "name": "removeBlockedURL",
1371 "description": "Cancels blocking of a specific URL from loading. ",
1372 "parameters": [
1373 { "name": "url", "type": "string", "description": "URL to st op blocking." }
1374 ],
1375 "hidden": true
1376 },
1377 {
1362 "name": "replayXHR", 1378 "name": "replayXHR",
1363 "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.", 1379 "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.",
1364 "parameters": [ 1380 "parameters": [
1365 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of XHR to replay." } 1381 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of XHR to replay." }
1366 ], 1382 ],
1367 "hidden": true 1383 "hidden": true
1368 }, 1384 },
1369 { 1385 {
1370 "name": "setMonitoringXHREnabled", 1386 "name": "setMonitoringXHREnabled",
1371 "parameters": [ 1387 "parameters": [
(...skipping 3783 matching lines...) Expand 10 before | Expand all | Expand 10 after
5155 ], 5171 ],
5156 "returns": [ 5172 "returns": [
5157 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5173 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5158 ], 5174 ],
5159 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5175 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5160 "hidden": true 5176 "hidden": true
5161 } 5177 }
5162 ] 5178 ]
5163 }] 5179 }]
5164 } 5180 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkManager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698