| Index: Source/devtools/protocol.json
|
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
|
| index f93ff09a0dc9845e0fc0337a3cbad082077bca15..5eb42f22eca3aae82e7a2eb4b3969b1630c157bf 100644
|
| --- a/Source/devtools/protocol.json
|
| +++ b/Source/devtools/protocol.json
|
| @@ -4113,6 +4113,10 @@
|
| "enum": ["new", "installing", "installed", "activating", "activated", "redundant"]
|
| },
|
| {
|
| + "id": "TargetID",
|
| + "type": "string"
|
| + },
|
| + {
|
| "id": "ServiceWorkerVersion",
|
| "type": "object",
|
| "description": "ServiceWorker version.",
|
| @@ -4123,7 +4127,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": "TargetID" } }
|
| ]
|
| },
|
| {
|
| @@ -4138,6 +4143,16 @@
|
| { "name": "lineNumber", "type": "integer" },
|
| { "name": "columnNumber", "type": "integer" }
|
| ]
|
| + },
|
| + {
|
| + "id": "TargetInfo",
|
| + "type": "object",
|
| + "properties": [
|
| + { "name": "id", "$ref": "TargetID" },
|
| + { "name": "type", "type": "string" },
|
| + { "name": "title", "type": "string" },
|
| + { "name": "url", "type": "string" }
|
| + ]
|
| }
|
| ],
|
| "commands": [
|
| @@ -4221,6 +4236,24 @@
|
| { "name": "data", "type": "string" }
|
| ],
|
| "handlers": ["browser"]
|
| + },
|
| + {
|
| + "name": "getTargetInfo",
|
| + "async": true,
|
| + "parameters": [
|
| + { "name": "targetId", "$ref": "TargetID" }
|
| + ],
|
| + "returns": [
|
| + { "name": "targetInfo","$ref": "TargetInfo" }
|
| + ],
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| + "name": "activateTarget",
|
| + "parameters": [
|
| + { "name": "targetId", "$ref": "TargetID" }
|
| + ],
|
| + "handlers": ["browser"]
|
| }
|
| ],
|
| "events": [
|
|
|