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

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

Issue 1151993003: [2/5 blink] Shows the clients which are controlled by ServiceWorker in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use DevToolsAgentHost ID for ClientId 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 4105 matching lines...) Expand 10 before | Expand all | Expand 10 after
4116 "id": "ServiceWorkerVersion", 4116 "id": "ServiceWorkerVersion",
4117 "type": "object", 4117 "type": "object",
4118 "description": "ServiceWorker version.", 4118 "description": "ServiceWorker version.",
4119 "properties": [ 4119 "properties": [
4120 { "name": "versionId", "type": "string" }, 4120 { "name": "versionId", "type": "string" },
4121 { "name": "registrationId", "type": "string" }, 4121 { "name": "registrationId", "type": "string" },
4122 { "name": "scriptURL", "type": "string" }, 4122 { "name": "scriptURL", "type": "string" },
4123 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" }, 4123 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" },
4124 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }, 4124 { "name": "status", "$ref": "ServiceWorkerVersionStatus" },
4125 { "name": "scriptLastModified", "type": "number", "optional" : true, "description": "The Last-Modified header value of the main script." }, 4125 { "name": "scriptLastModified", "type": "number", "optional" : true, "description": "The Last-Modified header value of the main script." },
4126 { "name": "scriptResponseTime", "type": "number", "optional" : true, "description": "The time at which the response headers of the main scrip t were received from the server. For cached script it is the last time the cach e entry was validated." } 4126 { "name": "scriptResponseTime", "type": "number", "optional" : true, "description": "The time at which the response headers of the main scrip t were received from the server. For cached script it is the last time the cach e entry was validated." },
4127 { "name": "controlledClients", "type": "array", "optional": true, "items": { "type": "string" } }
pfeldman 2015/06/05 12:19:18 $ref TargetID
horo 2015/06/08 03:22:29 Done.
4127 ] 4128 ]
4128 }, 4129 },
4129 { 4130 {
4130 "id": "ServiceWorkerErrorMessage", 4131 "id": "ServiceWorkerErrorMessage",
4131 "type": "object", 4132 "type": "object",
4132 "description": "ServiceWorker error message.", 4133 "description": "ServiceWorker error message.",
4133 "properties": [ 4134 "properties": [
4134 { "name": "errorMessage", "type": "string" }, 4135 { "name": "errorMessage", "type": "string" },
4135 { "name": "registrationId", "type": "string" }, 4136 { "name": "registrationId", "type": "string" },
4136 { "name": "versionId", "type": "string" }, 4137 { "name": "versionId", "type": "string" },
4137 { "name": "sourceURL", "type": "string" }, 4138 { "name": "sourceURL", "type": "string" },
4138 { "name": "lineNumber", "type": "integer" }, 4139 { "name": "lineNumber", "type": "integer" },
4139 { "name": "columnNumber", "type": "integer" } 4140 { "name": "columnNumber", "type": "integer" }
4140 ] 4141 ]
4142 },
4143 {
4144 "id": "ServiceWorkerClientType",
4145 "type": "string",
4146 "enum": ["window", "worker", "sharedWorker"]
4147 },
4148 {
4149 "id": "ServiceWorkerClientInfo",
pfeldman 2015/06/05 12:19:18 TargetInfo
horo 2015/06/08 03:22:29 Done.
4150 "type": "object",
4151 "properties": [
4152 { "name": "id", "type": "string" },
4153 { "name": "type", "$ref": "ServiceWorkerClientType" },
pfeldman 2015/06/05 12:19:18 Keep type string for now (see DevToolsAgentHost fo
horo 2015/06/08 03:22:29 Done.
4154 { "name": "url", "type": "string" }
4155 ]
4141 } 4156 }
4142 ], 4157 ],
4143 "commands": [ 4158 "commands": [
4144 { 4159 {
4145 "name": "enable", 4160 "name": "enable",
4146 "handlers": ["browser"] 4161 "handlers": ["browser"]
4147 }, 4162 },
4148 { 4163 {
4149 "name": "disable", 4164 "name": "disable",
4150 "handlers": ["browser"] 4165 "handlers": ["browser"]
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
4214 "handlers": ["browser"] 4229 "handlers": ["browser"]
4215 }, 4230 },
4216 { 4231 {
4217 "name": "deliverPushMessage", 4232 "name": "deliverPushMessage",
4218 "parameters": [ 4233 "parameters": [
4219 { "name": "origin", "type": "string" }, 4234 { "name": "origin", "type": "string" },
4220 { "name": "registrationId", "type": "string" }, 4235 { "name": "registrationId", "type": "string" },
4221 { "name": "data", "type": "string" } 4236 { "name": "data", "type": "string" }
4222 ], 4237 ],
4223 "handlers": ["browser"] 4238 "handlers": ["browser"]
4239 },
4240 {
4241 "name": "getClientInfo",
pfeldman 2015/06/05 12:19:18 getTargetInfo
horo 2015/06/08 03:22:29 Done.
4242 "async": true,
4243 "parameters": [
4244 { "name": "clientId", "type": "string" }
pfeldman 2015/06/05 12:19:18 targetIdm, $ref "TargetID" (extends string)
horo 2015/06/08 03:22:29 Done.
4245 ],
4246 "returns": [
4247 { "name": "clientInfo","$ref": "ServiceWorkerClientInfo" }
pfeldman 2015/06/05 12:19:18 targetId
horo 2015/06/08 03:22:29 changed to targetInfo.
4248 ],
4249 "handlers": ["browser"]
4250 },
4251 {
4252 "name": "focusClient",
4253 "parameters": [
4254 { "name": "clientId", "type": "string" }
pfeldman 2015/06/05 12:19:18 targetId
horo 2015/06/08 03:22:29 Done.
4255 ],
4256 "handlers": ["browser"]
4224 } 4257 }
4225 ], 4258 ],
4226 "events": [ 4259 "events": [
4227 { 4260 {
4228 "name": "workerCreated", 4261 "name": "workerCreated",
4229 "parameters": [ 4262 "parameters": [
4230 { "name": "workerId", "type": "string" }, 4263 { "name": "workerId", "type": "string" },
4231 { "name": "url", "type": "string" } 4264 { "name": "url", "type": "string" }
4232 ], 4265 ],
4233 "handlers": ["browser"] 4266 "handlers": ["browser"]
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
4950 ], 4983 ],
4951 "returns": [ 4984 "returns": [
4952 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 4985 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
4953 ], 4986 ],
4954 "description": "Fetches the accessibility node for this DOM node , if it exists.", 4987 "description": "Fetches the accessibility node for this DOM node , if it exists.",
4955 "hidden": true 4988 "hidden": true
4956 } 4989 }
4957 ] 4990 ]
4958 }] 4991 }]
4959 } 4992 }
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