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