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 } |
] |
}, |
{ |