| 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..d75ed80d39c0dccb1a6d8ff8efe265cca0310f4f 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 using net::ERR_ANORTED and deny will deny the request using net::ERR_INSECURE_RESPONSE."
|
| }
|
| ],
|
| "commands": [
|
| @@ -910,6 +916,18 @@
|
| {
|
| "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": "enableCertificateErrorHandling",
|
| + "description": "Enables tracking certificate errors."
|
| }
|
| ],
|
| "events": [
|
| @@ -923,6 +941,13 @@
|
| { "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."}
|
| + ]
|
| }
|
| ]
|
| },
|
|
|