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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2639203003: Add certificate error handling to devtools. (Closed)
Patch Set: format Created 3 years, 11 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
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."}
+ ]
}
]
},

Powered by Google App Engine
This is Rietveld 408576698