Skip to content

Commit ab43fc2

Browse files
committed
bump protocol
1 parent 1d06c79 commit ab43fc2

File tree

3 files changed

+61
-17
lines changed

3 files changed

+61
-17
lines changed

_data/tot/protocol.json

Lines changed: 59 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8111,6 +8111,11 @@
81118111
"id": "TargetID",
81128112
"type": "string"
81138113
},
8114+
{
8115+
"id": "SessionID",
8116+
"type": "string",
8117+
"description": "Unique identifier of attached debugging session."
8118+
},
81148119
{
81158120
"id": "BrowserContextID",
81168121
"type": "string"
@@ -8211,15 +8216,24 @@
82118216
},
82128217
{
82138218
"name": "sendMessageToTarget",
8214-
"description": "Sends protocol message to the target with given id.",
8219+
"description": "Sends protocol message over session with given id.",
82158220
"parameters": [
8216-
{
8217-
"name": "targetId",
8218-
"$ref": "TargetID"
8219-
},
82208221
{
82218222
"name": "message",
82228223
"type": "string"
8224+
},
8225+
{
8226+
"name": "sessionId",
8227+
"$ref": "SessionID",
8228+
"optional": true,
8229+
"description": "Identifier of the session."
8230+
},
8231+
{
8232+
"name": "targetId",
8233+
"$ref": "TargetID",
8234+
"optional": true,
8235+
"deprecated": true,
8236+
"description": "Deprecated."
82238237
}
82248238
]
82258239
},
@@ -8276,19 +8290,28 @@
82768290
],
82778291
"returns": [
82788292
{
8279-
"name": "success",
8280-
"type": "boolean",
8281-
"description": "Whether attach succeeded."
8293+
"name": "sessionId",
8294+
"$ref": "SessionID",
8295+
"description": "Id assigned to the session."
82828296
}
82838297
]
82848298
},
82858299
{
82868300
"name": "detachFromTarget",
8287-
"description": "Detaches from the target with given id.",
8301+
"description": "Detaches session with given id.",
82888302
"parameters": [
8303+
{
8304+
"name": "sessionId",
8305+
"$ref": "SessionID",
8306+
"optional": true,
8307+
"description": "Session to detach."
8308+
},
82898309
{
82908310
"name": "targetId",
8291-
"$ref": "TargetID"
8311+
"$ref": "TargetID",
8312+
"optional": true,
8313+
"deprecated": true,
8314+
"description": "Deprecated."
82928315
}
82938316
]
82948317
},
@@ -8405,6 +8428,11 @@
84058428
"name": "attachedToTarget",
84068429
"description": "Issued when attached to target because of auto-attach or <code>attachToTarget</code> command.",
84078430
"parameters": [
8431+
{
8432+
"name": "sessionId",
8433+
"$ref": "SessionID",
8434+
"description": "Identifier assigned to the session used to send/receive messages."
8435+
},
84088436
{
84098437
"name": "targetInfo",
84108438
"$ref": "TargetInfo"
@@ -8417,25 +8445,41 @@
84178445
},
84188446
{
84198447
"name": "detachedFromTarget",
8420-
"description": "Issued when detached from target for any reason (including <code>detachFromTarget</code> command).",
8448+
"description": "Issued when detached from target for any reason (including <code>detachFromTarget</code> command). Can be issued multiple times per target if multiple sessions have been attached to it.",
84218449
"parameters": [
8450+
{
8451+
"name": "sessionId",
8452+
"$ref": "SessionID",
8453+
"description": "Detached session identifier."
8454+
},
84228455
{
84238456
"name": "targetId",
8424-
"$ref": "TargetID"
8457+
"$ref": "TargetID",
8458+
"optional": true,
8459+
"deprecated": true,
8460+
"description": "Deprecated."
84258461
}
84268462
]
84278463
},
84288464
{
84298465
"name": "receivedMessageFromTarget",
8430-
"description": "Notifies about new protocol message from attached target.",
8466+
"description": "Notifies about a new protocol message received from the session (as reported in <code>attachedToTarget</code> event).",
84318467
"parameters": [
84328468
{
8433-
"name": "targetId",
8434-
"$ref": "TargetID"
8469+
"name": "sessionId",
8470+
"$ref": "SessionID",
8471+
"description": "Identifier of a session which sends a message."
84358472
},
84368473
{
84378474
"name": "message",
84388475
"type": "string"
8476+
},
8477+
{
8478+
"name": "targetId",
8479+
"$ref": "TargetID",
8480+
"optional": true,
8481+
"deprecated": true,
8482+
"description": "Deprecated."
84398483
}
84408484
]
84418485
}

_versions/tot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2 class="heading">latest (tip-of-tree)</h2>
88

99
<h5 browser>Latest <a
1010
href="https://chromium.googlesource.com/chromium/src/+log/master/third_party/WebKit/Source/core/inspector/browser_protocol.json">browser_protocol.json</a> version updated:</h5>
11-
<code browser>Date: Wed Jul 19 04:15:25 2017 -0700
11+
<code browser>Date: Thu Jul 20 14:15:34 2017 -0700
1212
</code>
1313

1414
<h5 js>Latest <a

search_index/tot.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)