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": "TargetID", |
| 4117 "type": "string" |
| 4118 }, |
| 4119 { |
4116 "id": "ServiceWorkerVersion", | 4120 "id": "ServiceWorkerVersion", |
4117 "type": "object", | 4121 "type": "object", |
4118 "description": "ServiceWorker version.", | 4122 "description": "ServiceWorker version.", |
4119 "properties": [ | 4123 "properties": [ |
4120 { "name": "versionId", "type": "string" }, | 4124 { "name": "versionId", "type": "string" }, |
4121 { "name": "registrationId", "type": "string" }, | 4125 { "name": "registrationId", "type": "string" }, |
4122 { "name": "scriptURL", "type": "string" }, | 4126 { "name": "scriptURL", "type": "string" }, |
4123 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn
ingStatus" }, | 4127 { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunn
ingStatus" }, |
4124 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }, | 4128 { "name": "status", "$ref": "ServiceWorkerVersionStatus" }, |
4125 { "name": "scriptLastModified", "type": "number", "optional"
: true, "description": "The Last-Modified header value of the main script." }, | 4129 { "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." } | 4130 { "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." }, |
| 4131 { "name": "controlledClients", "type": "array", "optional":
true, "items": { "$ref": "TargetID" } } |
4127 ] | 4132 ] |
4128 }, | 4133 }, |
4129 { | 4134 { |
4130 "id": "ServiceWorkerErrorMessage", | 4135 "id": "ServiceWorkerErrorMessage", |
4131 "type": "object", | 4136 "type": "object", |
4132 "description": "ServiceWorker error message.", | 4137 "description": "ServiceWorker error message.", |
4133 "properties": [ | 4138 "properties": [ |
4134 { "name": "errorMessage", "type": "string" }, | 4139 { "name": "errorMessage", "type": "string" }, |
4135 { "name": "registrationId", "type": "string" }, | 4140 { "name": "registrationId", "type": "string" }, |
4136 { "name": "versionId", "type": "string" }, | 4141 { "name": "versionId", "type": "string" }, |
4137 { "name": "sourceURL", "type": "string" }, | 4142 { "name": "sourceURL", "type": "string" }, |
4138 { "name": "lineNumber", "type": "integer" }, | 4143 { "name": "lineNumber", "type": "integer" }, |
4139 { "name": "columnNumber", "type": "integer" } | 4144 { "name": "columnNumber", "type": "integer" } |
4140 ] | 4145 ] |
| 4146 }, |
| 4147 { |
| 4148 "id": "TargetInfo", |
| 4149 "type": "object", |
| 4150 "properties": [ |
| 4151 { "name": "id", "$ref": "TargetID" }, |
| 4152 { "name": "type", "type": "string" }, |
| 4153 { "name": "title", "type": "string" }, |
| 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 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": "getTargetInfo", |
| 4242 "async": true, |
| 4243 "parameters": [ |
| 4244 { "name": "targetId", "$ref": "TargetID" } |
| 4245 ], |
| 4246 "returns": [ |
| 4247 { "name": "targetInfo","$ref": "TargetInfo" } |
| 4248 ], |
| 4249 "handlers": ["browser"] |
| 4250 }, |
| 4251 { |
| 4252 "name": "activateTarget", |
| 4253 "parameters": [ |
| 4254 { "name": "targetId", "$ref": "TargetID" } |
| 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 Loading... |
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 } |
OLD | NEW |