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

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

Issue 1167693010: Add a DevTools Security domain to protocol.json. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add "unknown" as a security state, and reorder to match the SecurityStyle enum (also followed in SecurityStyleToProtocolSecurityState()). 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 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 "description": "Is not issued. Will be gone in the future versio ns of the protocol.", 1050 "description": "Is not issued. Will be gone in the future versio ns of the protocol.",
1051 "deprecated": true 1051 "deprecated": true
1052 }, 1052 },
1053 { 1053 {
1054 "name": "messagesCleared", 1054 "name": "messagesCleared",
1055 "description": "Issued when console is cleared. This happens eit her upon <code>clearMessages</code> command or after page navigation." 1055 "description": "Issued when console is cleared. This happens eit her upon <code>clearMessages</code> command or after page navigation."
1056 } 1056 }
1057 ] 1057 ]
1058 }, 1058 },
1059 { 1059 {
1060 "domain": "Security",
1061 "description": "Security",
1062 "hidden": true,
1063 "types": [
1064 {
1065 "id": "SecurityState",
1066 "type": "string",
1067 "enum": ["unknown", "http", "insecure", "warning", "secure"],
lgarron 2015/06/09 20:18:27 Added "unknown", since the security handler can te
1068 "description": "The security level of a page or resource."
1069 }
1070 ],
1071 "commands": [
1072 {
1073 "name": "enable",
1074 "description": "Enables tracking security state changes.",
1075 "handlers": ["browser"]
1076 },
1077 {
1078 "name": "disable",
1079 "description": "Disables tracking security state changes.",
1080 "handlers": ["browser"]
1081 }
1082 ],
1083 "events": [
1084 {
1085 "name": "securityStateChanged",
1086 "description": "The security state of the page changed.",
1087 "parameters": [
1088 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }
1089 ],
1090 "handlers": ["browser"]
1091 }
1092 ]
1093 },
1094 {
1060 "domain": "Network", 1095 "domain": "Network",
1061 "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and resp onses, their headers, bodies, timing, etc.", 1096 "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and resp onses, their headers, bodies, timing, etc.",
1062 "types": [ 1097 "types": [
1063 { 1098 {
1064 "id": "LoaderId", 1099 "id": "LoaderId",
1065 "type": "string", 1100 "type": "string",
1066 "description": "Unique loader identifier." 1101 "description": "Unique loader identifier."
1067 }, 1102 },
1068 { 1103 {
1069 "id": "RequestId", 1104 "id": "RequestId",
(...skipping 3880 matching lines...) Expand 10 before | Expand all | Expand 10 after
4950 ], 4985 ],
4951 "returns": [ 4986 "returns": [
4952 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 4987 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
4953 ], 4988 ],
4954 "description": "Fetches the accessibility node for this DOM node , if it exists.", 4989 "description": "Fetches the accessibility node for this DOM node , if it exists.",
4955 "hidden": true 4990 "hidden": true
4956 } 4991 }
4957 ] 4992 ]
4958 }] 4993 }]
4959 } 4994 }
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