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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/module.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/devtools/front_end/sdk/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/module.json b/third_party/WebKit/Source/devtools/front_end/sdk/module.json
index f20f36aa2bfa718bd666bba9c329739c20dd6807..e68cdd97f347f844c7e4691dc09f129586403dfe 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/module.json
@@ -10,7 +10,6 @@
"type": "setting",
"settingName": "networkBlockedURLs",
"settingType": "array",
- "storageType": "session",
"defaultValue": []
},
{
@@ -96,6 +95,25 @@
"settingName": "customFormatters",
"settingType": "boolean",
"defaultValue": false
+ },
+ {
+ "type": "setting",
+ "category": "Network",
+ "title": "Enable request blocking",
+ "settingName": "requestBlockingEnabled",
+ "settingType": "boolean",
+ "storageType": "session",
+ "defaultValue": false,
+ "options": [
+ {
+ "value": true,
+ "title": "Enables request blocking"
+ },
+ {
+ "value": false,
+ "title": "Disable request blocking"
+ }
+ ]
}
],
"scripts": [

Powered by Google App Engine
This is Rietveld 408576698