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

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: Merge 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 70690810f21c812eab6cdcd4aa245ec98356d109..3c1f913b23fd1764b2df16020072f214f7089637 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": "url", "type": "array", "items": { "type": "string" }, "description": "URLs to block." }
],
"experimental": true
},

Powered by Google App Engine
This is Rietveld 408576698