OLD | NEW |
---|---|
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 4095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4106 "id": "ServiceWorkerVersionRunningStatus", | 4106 "id": "ServiceWorkerVersionRunningStatus", |
4107 "type": "string", | 4107 "type": "string", |
4108 "enum": ["stopped", "starting", "running", "stopping"] | 4108 "enum": ["stopped", "starting", "running", "stopping"] |
4109 }, | 4109 }, |
4110 { | 4110 { |
4111 "id": "ServiceWorkerVersionStatus", | 4111 "id": "ServiceWorkerVersionStatus", |
4112 "type": "string", | 4112 "type": "string", |
4113 "enum": ["new", "installing", "installed", "activating", "activa ted", "redundant"] | 4113 "enum": ["new", "installing", "installed", "activating", "activa ted", "redundant"] |
4114 }, | 4114 }, |
4115 { | 4115 { |
4116 "id": "ServiceWorkerClientType", | |
4117 "type": "string", | |
4118 "enum": ["window", "worker", "sharedWorker"] | |
4119 }, | |
4120 { | |
4121 "id": "ServiceWorkerClient", | |
4122 "type": "object", | |
4123 "properties": [ | |
4124 { "name": "id", "type": "string" }, | |
pfeldman
2015/06/02 13:23:43
I think we should reuse the DevToolsAgentHost IDs
horo
2015/06/03 10:30:53
Sorry, I don't understand well about the 'discover
horo
2015/06/05 08:07:25
I updated CLs to use DevToolsAgentHost ID.
Please
| |
4125 { "name": "type", "$ref": "ServiceWorkerClientType" }, | |
4126 { "name": "url", "type": "string" } | |
4127 ] | |
4128 }, | |
4129 { | |
4116 "id": "ServiceWorkerVersion", | 4130 "id": "ServiceWorkerVersion", |
4117 "type": "object", | 4131 "type": "object", |
4118 "description": "ServiceWorker version.", | 4132 "description": "ServiceWorker version.", |
4119 "properties": [ | 4133 "properties": [ |
4120 { "name": "versionId", "type": "string" }, | 4134 { "name": "versionId", "type": "string" }, |
4121 { "name": "registrationId", "type": "string" }, | 4135 { "name": "registrationId", "type": "string" }, |
4122 { "name": "scriptURL", "type": "string" }, | 4136 { "name": "scriptURL", "type": "string" }, |
4123 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" }, | 4137 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn ingStatus" }, |
4124 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }, | 4138 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }, |
4125 { "name": "scriptLastModified", "type": "number", "optional" : true, "description": "The Last-Modified header value of the main script." }, | 4139 { "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." } | 4140 { "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." }, |
4141 { "name": "controlledClients", "type": "array", "optional": true, "items": { "$ref": "ServiceWorkerClient" } } | |
4127 ] | 4142 ] |
4128 }, | 4143 }, |
4129 { | 4144 { |
4130 "id": "ServiceWorkerErrorMessage", | 4145 "id": "ServiceWorkerErrorMessage", |
4131 "type": "object", | 4146 "type": "object", |
4132 "description": "ServiceWorker error message.", | 4147 "description": "ServiceWorker error message.", |
4133 "properties": [ | 4148 "properties": [ |
4134 { "name": "errorMessage", "type": "string" }, | 4149 { "name": "errorMessage", "type": "string" }, |
4135 { "name": "registrationId", "type": "string" }, | 4150 { "name": "registrationId", "type": "string" }, |
4136 { "name": "versionId", "type": "string" }, | 4151 { "name": "versionId", "type": "string" }, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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": "focusClient", | |
4242 "parameters": [ | |
4243 { "name": "clientId", "type": "string" } | |
4244 ], | |
4245 "handlers": ["browser"] | |
4224 } | 4246 } |
4225 ], | 4247 ], |
4226 "events": [ | 4248 "events": [ |
4227 { | 4249 { |
4228 "name": "workerCreated", | 4250 "name": "workerCreated", |
4229 "parameters": [ | 4251 "parameters": [ |
4230 { "name": "workerId", "type": "string" }, | 4252 { "name": "workerId", "type": "string" }, |
4231 { "name": "url", "type": "string" } | 4253 { "name": "url", "type": "string" } |
4232 ], | 4254 ], |
4233 "handlers": ["browser"] | 4255 "handlers": ["browser"] |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4949 ], | 4971 ], |
4950 "returns": [ | 4972 "returns": [ |
4951 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 4973 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
4952 ], | 4974 ], |
4953 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 4975 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
4954 "hidden": true | 4976 "hidden": true |
4955 } | 4977 } |
4956 ] | 4978 ] |
4957 }] | 4979 }] |
4958 } | 4980 } |
OLD | NEW |