| Index: third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| index 38f9c78e9e8a9447f61c977906da723016376aa5..0e8e4d9ee34430b6f0f4c75fc9e66956f691d284 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -3324,19 +3324,22 @@
|
| "type": "string"
|
| },
|
| {
|
| - "id": "TargetType",
|
| - "type": "string",
|
| - "enum": ["page", "iframe", "worker", "service_worker"]
|
| - },
|
| - {
|
| "id": "TargetInfo",
|
| "type": "object",
|
| "properties": [
|
| { "name": "targetId", "$ref": "TargetID" },
|
| - { "name": "type", "$ref": "TargetType" },
|
| + { "name": "type", "type": "string" },
|
| { "name": "title", "type": "string" },
|
| { "name": "url", "type": "string" }
|
| ]
|
| + },
|
| + {
|
| + "id": "RemoteLocation",
|
| + "type": "object",
|
| + "properties": [
|
| + { "name": "host", "type": "string" },
|
| + { "name": "port", "type": "integer" }
|
| + ]
|
| }
|
| ],
|
| "commands": [
|
| @@ -3365,6 +3368,15 @@
|
| "handlers": ["browser"]
|
| },
|
| {
|
| + "name": "setRemoteLocations",
|
| + "parameters": [
|
| +
|
| + { "name": "locations", "type": "array", "items": { "$ref": "RemoteLocation" }, "description": "List of remote locations." }
|
| + ],
|
| + "description": "Enables target discovery for the specified locations, when <code>setDiscoverTargets</code> was set to <code>true</code>.",
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| "name": "sendMessageToTarget",
|
| "parameters": [
|
| { "name": "targetId", "type": "string" },
|
| @@ -4470,14 +4482,6 @@
|
| { "name": "title", "type": "string" },
|
| { "name": "url", "type": "string" }
|
| ]
|
| - },
|
| - {
|
| - "id": "RemoteLocation",
|
| - "type": "object",
|
| - "properties": [
|
| - { "name": "host", "type": "string" },
|
| - { "name": "port", "type": "integer" }
|
| - ]
|
| }
|
| ],
|
| "commands": [
|
| @@ -4535,15 +4539,6 @@
|
| "async": true
|
| },
|
| {
|
| - "name": "setRemoteLocations",
|
| - "parameters": [
|
| -
|
| - { "name": "locations", "type": "array", "items": { "$ref": "RemoteLocation" }, "description": "List of remote locations" }
|
| - ],
|
| - "description": "Enables target discovery for the specified locations.",
|
| - "handlers": ["browser"]
|
| - },
|
| - {
|
| "name": "attach",
|
| "description": "Attaches to the target with given id.",
|
| "parameters": [
|
|
|