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

Unified Diff: Source/devtools/protocol.json

Issue 1167693010: Add a DevTools Security domain to protocol.json. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Exclude Security from the agents-enable-disable test (like ServiceWorker). Created 5 years, 6 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 | « LayoutTests/inspector/agents-enable-disable.html ('k') | no next file » | 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 f93ff09a0dc9845e0fc0337a3cbad082077bca15..0932b6dd4e313a047a0be95c95629a0b7a1c6dec 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -4955,5 +4955,40 @@
"hidden": true
}
]
+ },
+ {
+ "domain": "Security",
+ "description": "Security",
+ "hidden": true,
+ "types": [
+ {
+ "id": "SecurityState",
+ "type": "string",
+ "enum": ["unknown", "http", "insecure", "warning", "secure"],
+ "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"]
+ }
+ ]
}]
}
« no previous file with comments | « LayoutTests/inspector/agents-enable-disable.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698