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

Unified Diff: Source/devtools/protocol.json

Issue 1315043008: [DevTools] Show blocked requests in Network panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 3 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
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkRequest.js ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 7806e9a7df57a5ff7e043663d629f1b922197859..4596861bf769a2be5094e5469f8a8c138f965e24 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1230,6 +1230,13 @@
]
},
{
+ "id": "BlockedReason",
+ "type": "string",
+ "description": "The reason why request was blocked.",
+ "enum": ["csp", "mixed-content", "origin", "inspector", "other"],
+ "hidden": true
+ },
+ {
"id": "Response",
"type": "object",
"description": "HTTP response data.",
@@ -1555,7 +1562,7 @@
{ "name": "type", "$ref": "Page.ResourceType", "description": "Resource type." },
{ "name": "errorText", "type": "string", "description": "User friendly error message." },
{ "name": "canceled", "type": "boolean", "optional": true, "description": "True if loading was canceled." },
- { "name": "blocked", "type": "boolean", "optional": true, "description": "True if loading was blocked by inspector." }
+ { "name": "blockedReason", "$ref": "BlockedReason", "optional": true, "description": "The reason why loading was blocked, if any.", "hidden": true }
]
},
{
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkRequest.js ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698