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

Unified Diff: Source/devtools/protocol.json

Issue 1308173008: DevTools: [security] allow opening certificate viewer from devtools (blink) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « Source/devtools/front_end/sdk/NetworkManager.js ('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 7806e9a7df57a5ff7e043663d629f1b922197859..3f2f822fea5f7b70d45977dfd11599e11bfb3306 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1085,7 +1085,8 @@
"properties": [
{ "name": "securityState", "$ref": "SecurityState", "description": "Security state representing the severity of the factor being explained." },
{ "name": "summary", "type": "string", "description": "Short phrase describing the type of factor." },
- { "name": "description", "type": "string", "description": "Full text explanation of the factor." }
+ { "name": "description", "type": "string", "description": "Full text explanation of the factor." },
+ { "name": "certificateId", "$ref": "Network.CertificateId", "optional": true, "description": "Associated certificate id." }
],
"description": "An explanation of an factor contributing to the security state."
},
@@ -1489,6 +1490,14 @@
{ "name": "result", "$ref": "CertificateDetails", "description": "Certificate details." }
],
"handlers": ["browser"]
+ },
+ {
+ "name": "showCertificateViewer",
+ "description": "Displays native dialog with the certificate details.",
+ "parameters": [
+ { "name": "certificateId", "$ref": "CertificateId", "description": "Certificate id." }
+ ],
+ "handlers": ["browser"]
}
],
"events": [
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkManager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698