Chromium Code Reviews| Index: Source/devtools/protocol.json |
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
| index e11674e249baca518c6e2c93fe79765ed95feac1..d5ff82ccdddd5ac367911606659a5238c156cb65 100644 |
| --- a/Source/devtools/protocol.json |
| +++ b/Source/devtools/protocol.json |
| @@ -4113,6 +4113,20 @@ |
| "enum": ["new", "installing", "installed", "activating", "activated", "redundant"] |
| }, |
| { |
| + "id": "ServiceWorkerClientType", |
| + "type": "string", |
| + "enum": ["window", "worker", "sharedWorker"] |
| + }, |
| + { |
| + "id": "ServiceWorkerClient", |
| + "type": "object", |
| + "properties": [ |
| + { "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
|
| + { "name": "type", "$ref": "ServiceWorkerClientType" }, |
| + { "name": "url", "type": "string" } |
| + ] |
| + }, |
| + { |
| "id": "ServiceWorkerVersion", |
| "type": "object", |
| "description": "ServiceWorker version.", |
| @@ -4123,7 +4137,8 @@ |
| { "name": "runningStatus", "$ref": "ServiceWorkerVersionRunningStatus" }, |
| { "name": "status", "$ref": "ServiceWorkerVersionStatus" }, |
| { "name": "scriptLastModified", "type": "number", "optional": true, "description": "The Last-Modified header value of the main script." }, |
| - { "name": "scriptResponseTime", "type": "number", "optional": true, "description": "The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated." } |
| + { "name": "scriptResponseTime", "type": "number", "optional": true, "description": "The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated." }, |
| + { "name": "controlledClients", "type": "array", "optional": true, "items": { "$ref": "ServiceWorkerClient" } } |
| ] |
| }, |
| { |
| @@ -4221,6 +4236,13 @@ |
| { "name": "data", "type": "string" } |
| ], |
| "handlers": ["browser"] |
| + }, |
| + { |
| + "name": "focusClient", |
| + "parameters": [ |
| + { "name": "clientId", "type": "string" } |
| + ], |
| + "handlers": ["browser"] |
| } |
| ], |
| "events": [ |