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

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

Issue 2703603003: [Devtools] Changed protocol to use setBlockedURLs instead of add/remove (Closed)
Patch Set: changes Created 3 years, 10 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 224f7f28a8c3878ac1bd96ede1a7e37388669667..0daa88b691f3222f19a0e6ded6c046686872c566 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -1187,18 +1187,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": "url", "type": "array", "items": { "type": "string" }, "description": "URLs to block." }
],
"experimental": true
},

Powered by Google App Engine
This is Rietveld 408576698