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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkManager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 5eb716fe0edb8d32c669ab07e7033caeb1db7c86..ed1a103eef7dcf00d09a894dd7833d2358ba01a3 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1359,6 +1359,22 @@
]
},
{
+ "name": "addBlockedURL",
+ "description": "Blocks specific URL from loading.",
+ "parameters": [
+ { "name": "url", "type": "string", "description": "URL to block." }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "removeBlockedURL",
+ "description": "Cancels blocking of a specific URL from loading.",
+ "parameters": [
+ { "name": "url", "type": "string", "description": "URL to stop blocking." }
+ ],
+ "hidden": true
+ },
+ {
"name": "replayXHR",
"description": "This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.",
"parameters": [
« 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