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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/module.json

Issue 2692653003: [Devtools] Added Enable/Disable for request blocking in network (Closed)
Patch Set: changes 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/devtools/front_end/network/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/network/module.json b/third_party/WebKit/Source/devtools/front_end/network/module.json
index 9aa74b464560a9057b1ae679cb06d49dfe2d0cd3..9513eac2c83cc28833adbf98680cda8e2ca30781 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/network/module.json
@@ -44,6 +44,25 @@
]
},
{
+ "type": "setting",
+ "category": "Network",
+ "title": "Enables request blocking",
+ "settingName": "requestBlockingEnabled",
+ "settingType": "boolean",
+ "storageType": "session",
+ "defaultValue": false,
+ "options": [
+ {
+ "value": true,
+ "title": "Block matched requests from being sent"
pfeldman 2017/03/07 02:37:56 I'd just say "Enable request blocking" as you did
allada 2017/03/07 21:54:04 Done.
+ },
+ {
+ "value": false,
+ "title": "Do not block requests"
+ }
+ ]
+ },
+ {
"type": "@UI.ActionDelegate",
"actionId": "network.blocked-urls.show",
"className": "Network.BlockedURLsPane.ActionDelegate",

Powered by Google App Engine
This is Rietveld 408576698