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

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: hidden Created 5 years, 4 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: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 6bdc7484e794ceab934f62ca1524ec0b818d7f5d..168af182a2d6b572b3510601b1198452ec1a6dda 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1223,6 +1223,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.",
@@ -1548,7 +1555,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 }
]
},
{
« Source/core/loader/FrameFetchContext.cpp ('K') | « Source/devtools/front_end/sdk/NetworkRequest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698