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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2692653003: [Devtools] Added Enable/Disable for request blocking in network (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into ADD_ENABLE_DISABLE_REQ… Created 3 years, 9 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: third_party/WebKit/Source/core/inspector/browser_protocol.json
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
index 6ec703ad719c743084bfdc478ba71d75483c16cc..580d81bb7c0737f4acb90c779cf0b24b7fcae6d5 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -1197,18 +1197,10 @@
]
},
{
- "name": "addBlockedURL",
+ "name": "setBlockedURLs",
"description": "Blocks specific URL from loading.",
"parameters": [
- { "name": "url", "type": "string", "description": "URL to block." }
- ],
- "experimental": true
- },
- {
- "name": "removeBlockedURL",
- "description": "Cancels blocking of a specific URL from loading.",
- "parameters": [
- { "name": "url", "type": "string", "description": "URL to stop blocking." }
+ { "name": "urls", "type": "array", "items": { "type": "string" }, "description": "URLs to block." }
],
"experimental": true
},

Powered by Google App Engine
This is Rietveld 408576698