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

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: 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",
pfeldman 2015/06/04 09:21:55 add "hidden": true
lgarron 2015/06/09 00:15:17 Done.
1062 "types": [
1063 {
1064 "id": "SecurityState",
lgarron 2015/06/04 02:31:33 estark@: I used "SecurityState" here because "Secu
1065 "type": "string",
1066 "enum": ["SECURE", "WARNING", "INSECURE", "HTTP"],
pfeldman 2015/06/04 09:21:55 Please use lower case for the protocol enum litera
lgarron 2015/06/09 00:15:17 Done.
1067 "description": "The security level of a page or resource."
1068 }
1069 ],
1070 "events": [
1071 {
1072 "name": "securityStateChanged",
1073 "description": "The security state of the page changed.",
1074 "parameters": [
1075 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }
1076 ],
1077 "handlers": ["browser"]
1078 }
1079 ],
1080 "commands": [
pfeldman 2015/06/04 09:21:54 types, then commands, then events.
lgarron 2015/06/09 00:15:17 Done.
1081 {
1082 "name": "enable",
1083 "parameters": [],
pfeldman 2015/06/04 09:21:55 no need to specify
lgarron 2015/06/09 00:15:17 Done.
1084 "description": "Enables tracking security state changes.",
1085 "handlers": ["browser"],
1086 "hidden": true
pfeldman 2015/06/04 09:21:55 lets hide entire domain instead.
lgarron 2015/06/09 00:15:16 Done.
1087 },
1088 {
1089 "name": "disable",
1090 "parameters": [],
1091 "description": "Disables tracking security state changes.",
1092 "handlers": ["browser"],
1093 "hidden": true
pfeldman 2015/06/04 09:21:55 ditto
lgarron 2015/06/09 00:15:17 Done (also with parameters).
1094 }
1095 ]
1096 },
1097 {
1060 "domain": "Network", 1098 "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.", 1099 "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": [ 1100 "types": [
1063 { 1101 {
1064 "id": "LoaderId", 1102 "id": "LoaderId",
1065 "type": "string", 1103 "type": "string",
1066 "description": "Unique loader identifier." 1104 "description": "Unique loader identifier."
1067 }, 1105 },
1068 { 1106 {
1069 "id": "RequestId", 1107 "id": "RequestId",
(...skipping 3879 matching lines...) Expand 10 before | Expand all | Expand 10 after
4949 ], 4987 ],
4950 "returns": [ 4988 "returns": [
4951 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 4989 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
4952 ], 4990 ],
4953 "description": "Fetches the accessibility node for this DOM node , if it exists.", 4991 "description": "Fetches the accessibility node for this DOM node , if it exists.",
4954 "hidden": true 4992 "hidden": true
4955 } 4993 }
4956 ] 4994 ]
4957 }] 4995 }]
4958 } 4996 }
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