| Index: content/browser/devtools/browser_protocol.json
|
| diff --git a/content/browser/devtools/browser_protocol.json b/content/browser/devtools/browser_protocol.json
|
| index dfb462febf233424f80b4f965625966798a94858..f4b67407d2e899426dce89bf1209d389a8d22889 100644
|
| --- a/content/browser/devtools/browser_protocol.json
|
| +++ b/content/browser/devtools/browser_protocol.json
|
| @@ -47,5 +47,39 @@
|
| "handlers": ["browser"]
|
| }
|
| ]
|
| + },
|
| + {
|
| + "domain": "Tethering",
|
| + "description": "The Tethering domain defines methods and events for browser port binding.",
|
| + "hidden": true,
|
| + "commands": [
|
| + {
|
| + "name": "bind",
|
| + "description": "Request browser port binding.",
|
| + "parameters": [
|
| + { "name": "port", "type": "number", "description": "Port number to bind." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + },
|
| + {
|
| + "name": "unbind",
|
| + "description": "Request browser port unbinding.",
|
| + "parameters": [
|
| + { "name": "port", "type": "number", "description": "Port number to unbind." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + }
|
| + ],
|
| + "events": [
|
| + {
|
| + "name": "accepted",
|
| + "description": "Informs that port was successfully bound and got a specified connection id.",
|
| + "parameters": [
|
| + {"name": "port", "type": "number", "description": "Port number that was successfully bound." },
|
| + {"name": "connectionId", "type": "string", "description": "Connection id to be used." }
|
| + ],
|
| + "handlers": ["browser"]
|
| + }
|
| + ]
|
| }]
|
| }
|
|
|