Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index f93ff09a0dc9845e0fc0337a3cbad082077bca15..8e8ce87ca68eae473f2d057ada4d00c44eaacaf2 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -1057,6 +1057,41 @@ |
] |
}, |
{ |
+ "domain": "Security", |
+ "description": "Security", |
+ "hidden": true, |
+ "types": [ |
+ { |
+ "id": "SecurityState", |
+ "type": "string", |
+ "enum": ["unknown", "http", "insecure", "warning", "secure"], |
lgarron
2015/06/09 20:18:27
Added "unknown", since the security handler can te
|
+ "description": "The security level of a page or resource." |
+ } |
+ ], |
+ "commands": [ |
+ { |
+ "name": "enable", |
+ "description": "Enables tracking security state changes.", |
+ "handlers": ["browser"] |
+ }, |
+ { |
+ "name": "disable", |
+ "description": "Disables tracking security state changes.", |
+ "handlers": ["browser"] |
+ } |
+ ], |
+ "events": [ |
+ { |
+ "name": "securityStateChanged", |
+ "description": "The security state of the page changed.", |
+ "parameters": [ |
+ { "name": "securityState", "$ref": "SecurityState", "description": "Security state." } |
+ ], |
+ "handlers": ["browser"] |
+ } |
+ ] |
+ }, |
+ { |
"domain": "Network", |
"description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.", |
"types": [ |