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 662d9e183f19372f2f70c38e85cfea83f141c8e4..43ac795eb22e1e2fb0bd5d40aeb64abab4c8efb5 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -883,6 +883,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." |
Eric Seckler
2017/01/19 11:42:28
nit: add a short description about what each enum
irisu
2017/02/07 23:30:19
Done.
|
} |
], |
"commands": [ |
@@ -897,6 +903,14 @@ |
{ |
"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." } |
+ ] |
} |
], |
"events": [ |
@@ -910,6 +924,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", |
Eric Seckler
2017/01/19 11:42:28
The bot seems to complain that Security.SecurityDi
irisu
2017/02/07 23:30:20
Done.
|
+ "description": "There is a certificate error.", |
+ "parameters": [ |
+ { "name": "eventID", "type": "integer", "description": "The ID of the event."} |
+ ] |
} |
] |
}, |