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

Side by Side Diff: Source/devtools/protocol.json

Issue 1195533002: Update protocol.json to support explanations for securityStateChanged. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use different SecurityStateExplanation property names. Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 4992 matching lines...) Expand 10 before | Expand all | Expand 10 after
5003 { 5003 {
5004 "domain": "Security", 5004 "domain": "Security",
5005 "description": "Security", 5005 "description": "Security",
5006 "hidden": true, 5006 "hidden": true,
5007 "types": [ 5007 "types": [
5008 { 5008 {
5009 "id": "SecurityState", 5009 "id": "SecurityState",
5010 "type": "string", 5010 "type": "string",
5011 "enum": ["unknown", "http", "insecure", "warning", "secure"], 5011 "enum": ["unknown", "http", "insecure", "warning", "secure"],
5012 "description": "The security level of a page or resource." 5012 "description": "The security level of a page or resource."
5013 },
5014 {
5015 "id": "SecurityStateExplanation",
pfeldman 2015/06/18 06:45:15 StateExplanation
5016 "type": "object",
5017 "properties": [
5018 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state representing the severity of the factor being explained." },
5019 { "name": "summary", "type": "string", "description": "Short phrase describing the type of factor." },
5020 { "name": "description", "type": "string", "description": "F ull text explanation of the factor." }
5021 ],
5022 "description": "An explanation of an factor contributing to the security state."
5013 } 5023 }
5014 ], 5024 ],
5015 "commands": [ 5025 "commands": [
5016 { 5026 {
5017 "name": "enable", 5027 "name": "enable",
5018 "description": "Enables tracking security state changes.", 5028 "description": "Enables tracking security state changes.",
5019 "handlers": ["browser"] 5029 "handlers": ["browser"]
5020 }, 5030 },
5021 { 5031 {
5022 "name": "disable", 5032 "name": "disable",
5023 "description": "Disables tracking security state changes.", 5033 "description": "Disables tracking security state changes.",
5024 "handlers": ["browser"] 5034 "handlers": ["browser"]
5025 } 5035 }
5026 ], 5036 ],
5027 "events": [ 5037 "events": [
5028 { 5038 {
5029 "name": "securityStateChanged", 5039 "name": "securityStateChanged",
5030 "description": "The security state of the page changed.", 5040 "description": "The security state of the page changed.",
5031 "parameters": [ 5041 "parameters": [
5032 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." } 5042 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." },
5043 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true }
5033 ], 5044 ],
5034 "handlers": ["browser"] 5045 "handlers": ["browser"]
5035 } 5046 }
5036 ] 5047 ]
5037 }] 5048 }]
5038 } 5049 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698