Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
index 7cda362400f924f055866333c525e65b0e02e4c6..b55ddaf1c00a8334a19002232d96b46fcbf530c0 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -890,6 +890,14 @@ |
"name": "disable", |
"description": "Disables tracking security state changes.", |
"handlers": ["browser"] |
+ }, |
+ { |
+ "name": "showCertificateViewer", |
+ "description": "Displays native dialog with the certificate details.", |
+ "parameters": [ |
+ { "name": "certificateId", "$ref": "Security.CertificateId", "description": "Certificate id." } |
+ ], |
+ "handlers": ["browser"] |
} |
], |
"events": [ |
@@ -986,27 +994,6 @@ |
] |
}, |
{ |
- "id": "CertificateSubject", |
- "type": "object", |
- "description": "Subject of a certificate.", |
- "properties": [ |
- { "name": "name", "type": "string", "description": "Certificate subject name." }, |
- { "name": "sanDnsNames", "type": "array", "items": { "type": "string" }, "description": "Subject Alternative Name (SAN) DNS names." }, |
- { "name": "sanIpAddresses", "type": "array", "items": { "type": "string" }, "description": "Subject Alternative Name (SAN) IP addresses." } |
- ] |
- }, |
- { |
- "id": "CertificateDetails", |
- "type": "object", |
- "description": "Details about a request's certificate.", |
- "properties": [ |
- { "name": "subject", "$ref": "CertificateSubject", "description": "Certificate subject." }, |
- { "name": "issuer", "type": "string", "description": "Name of the issuing CA." }, |
- { "name": "validFrom", "$ref": "Timestamp", "description": "Certificate valid from date." }, |
- { "name": "validTo", "$ref": "Timestamp", "description": "Certificate valid to (expiration) date" } |
- ] |
- }, |
- { |
"id": "SignedCertificateTimestamp", |
"type" : "object", |
"description": "Details of a signed certificate timestamp (SCT).", |
@@ -1031,7 +1018,13 @@ |
{ "name": "cipher", "type": "string", "description": "Cipher name." }, |
{ "name": "mac", "type": "string", "optional": true, "description": "TLS MAC. Note that AEAD ciphers do not have separate MACs." }, |
{ "name": "certificateId", "$ref": "Security.CertificateId", "description": "Certificate ID value." }, |
- { "name": "signedCertificateTimestampList", "type": "array", "items": { "$ref": "SignedCertificateTimestamp" }, "description": "List of signed certificate timestamps (SCTs)." } |
+ { "name": "subjectName", "type": "string", "description": "Certificate subject name." }, |
+ { "name": "sanList", "type": "array", "items": { "type": "string" }, "description": "Subject Alternative Name (SAN) DNS names and IP addresses." }, |
+ { "name": "issuer", "type": "string", "description": "Name of the issuing CA." }, |
+ { "name": "validFrom", "$ref": "Timestamp", "description": "Certificate valid from date." }, |
+ { "name": "validTo", "$ref": "Timestamp", "description": "Certificate valid to (expiration) date" }, |
+ { "name": "signedCertificateTimestampList", "type": "array", "items": { "$ref": "SignedCertificateTimestamp" }, "description": "List of signed certificate timestamps (SCTs)." }, |
+ { "name": "certificateHash", "type": "integer", "description": "Certificate hash, used to call Network.showCertificateViewer." } |
] |
}, |
{ |
@@ -1327,23 +1320,13 @@ |
"experimental": true |
}, |
{ |
- "name": "getCertificateDetails", |
- "description": "Returns details for the given certificate.", |
- "parameters": [ |
- { "name": "certificateId", "$ref": "Security.CertificateId", "description": "ID of the certificate to get details for." } |
- ], |
- "returns": [ |
- { "name": "result", "$ref": "CertificateDetails", "description": "Certificate details." } |
- ], |
- "handlers": ["browser"] |
- }, |
- { |
"name": "showCertificateViewer", |
"description": "Displays native dialog with the certificate details.", |
"parameters": [ |
- { "name": "certificateId", "$ref": "Security.CertificateId", "description": "Certificate id." } |
+ { "name": "certificateHash", "type": "integer", "description": "Certificate hash." } |
], |
- "handlers": ["browser"] |
+ "handlers": ["renderer"], |
+ "experimental": true |
} |
], |
"events": [ |