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

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: 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
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 9534cba0b1cae21f447a76fdf85831286c7f009d..083b70a420810b9f7040c623d06bf91c4e6d4ac4 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1358,6 +1358,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": [

Powered by Google App Engine
This is Rietveld 408576698