Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index f93ff09a0dc9845e0fc0337a3cbad082077bca15..d966a9c058131e050954224fe843b9b1e409bc86 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -4123,7 +4123,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": { "type": "string" } } |
pfeldman
2015/06/05 12:19:18
$ref TargetID
horo
2015/06/08 03:22:29
Done.
|
] |
}, |
{ |
@@ -4138,6 +4139,20 @@ |
{ "name": "lineNumber", "type": "integer" }, |
{ "name": "columnNumber", "type": "integer" } |
] |
+ }, |
+ { |
+ "id": "ServiceWorkerClientType", |
+ "type": "string", |
+ "enum": ["window", "worker", "sharedWorker"] |
+ }, |
+ { |
+ "id": "ServiceWorkerClientInfo", |
pfeldman
2015/06/05 12:19:18
TargetInfo
horo
2015/06/08 03:22:29
Done.
|
+ "type": "object", |
+ "properties": [ |
+ { "name": "id", "type": "string" }, |
+ { "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.
|
+ { "name": "url", "type": "string" } |
+ ] |
} |
], |
"commands": [ |
@@ -4221,6 +4236,24 @@ |
{ "name": "data", "type": "string" } |
], |
"handlers": ["browser"] |
+ }, |
+ { |
+ "name": "getClientInfo", |
pfeldman
2015/06/05 12:19:18
getTargetInfo
horo
2015/06/08 03:22:29
Done.
|
+ "async": true, |
+ "parameters": [ |
+ { "name": "clientId", "type": "string" } |
pfeldman
2015/06/05 12:19:18
targetIdm, $ref "TargetID" (extends string)
horo
2015/06/08 03:22:29
Done.
|
+ ], |
+ "returns": [ |
+ { "name": "clientInfo","$ref": "ServiceWorkerClientInfo" } |
pfeldman
2015/06/05 12:19:18
targetId
horo
2015/06/08 03:22:29
changed to targetInfo.
|
+ ], |
+ "handlers": ["browser"] |
+ }, |
+ { |
+ "name": "focusClient", |
+ "parameters": [ |
+ { "name": "clientId", "type": "string" } |
pfeldman
2015/06/05 12:19:18
targetId
horo
2015/06/08 03:22:29
Done.
|
+ ], |
+ "handlers": ["browser"] |
} |
], |
"events": [ |