| 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 731b2dcb5f7822fd866edea7c86642f3390e56d0..28af3e513c4e39d172255ffe79f1345a69856fc6 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -896,6 +896,12 @@
|
| { "name": "displayedInsecureContentStyle", "$ref": "SecurityState", "description": "Security state representing a page that displayed insecure content." }
|
| ],
|
| "description": "Information about insecure content on the page."
|
| + },
|
| + {
|
| + "id": "CertificateErrorAction",
|
| + "type": "string",
|
| + "enum": ["continue", "cancel", "deny"],
|
| + "description": "The action to take when a certificate error occurs. continue will continue processing the request, cancel will cancel the request and deny will deny the request."
|
| }
|
| ],
|
| "commands": [
|
| @@ -910,6 +916,21 @@
|
| {
|
| "name": "showCertificateViewer",
|
| "description": "Displays native dialog with the certificate details."
|
| + },
|
| + {
|
| + "name": "handleCertificateError",
|
| + "description": "Handles a certificate error.",
|
| + "parameters": [
|
| + { "name": "eventID", "type": "integer", "description": "The ID of the event."},
|
| + { "name": "action", "$ref": "CertificateErrorAction", "description": "The action to take on the certificate error." }
|
| + ]
|
| + },
|
| + {
|
| + "name": "setOverrideCertificateErrors",
|
| + "description": "Enable/disable overriding certificate errors.",
|
| + "parameters": [
|
| + { "name": "override", "type": "boolean", "description": "If true, certificate errors will be overriden."}
|
| + ]
|
| }
|
| ],
|
| "events": [
|
| @@ -923,6 +944,15 @@
|
| { "name": "insecureContentStatus", "$ref": "InsecureContentStatus", "description": "Information about insecure content on the page." },
|
| { "name": "summary", "type": "string", "description": "Overrides user-visible description of the state.", "optional": true }
|
| ]
|
| + },
|
| + {
|
| + "name": "certificateError",
|
| + "description": "There is a certificate error.",
|
| + "parameters": [
|
| + { "name": "eventID", "type": "integer", "description": "The ID of the event."},
|
| + { "name": "error_type", "type": "string", "description": "The type of the error."},
|
| + { "name": "request_url", "type": "string", "description": "The url that was requested."}
|
| + ]
|
| }
|
| ]
|
| },
|
|
|