Skip to content

Commit

Permalink
Roll protocol to r1271365
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Mar 12, 2024
1 parent d932e1e commit 08fa435
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 2 deletions.
21 changes: 20 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@


## Roll protocol to r1271365 — _2024-03-12T04:27:11.000Z_
###### Diff: [`d932e1e...a93a67b`](https://github.com/ChromeDevTools/devtools-protocol/compare/d932e1e...a93a67b)

```diff
@@ browser_protocol.pdl:6356 @@ domain Network
number uploadThroughput
# Connection type if known.
optional ConnectionType connectionType
+ # WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
+ experimental optional number packetLoss
+ # WebRTC packet queue length (packet). 0 removes any queue length limitations.
+ experimental optional integer packetQueueLength
+ # WebRTC packetReordering feature.
+ experimental optional boolean packetReordering

# Enables network tracking, network events will now be delivered to the client.
command enable
```

## Roll protocol to r1269399 — _2024-03-07T04:25:11.000Z_
###### Diff: [`61cfdc3...4828871`](https://github.com/ChromeDevTools/devtools-protocol/compare/61cfdc3...4828871)
###### Diff: [`61cfdc3...d932e1e`](https://github.com/ChromeDevTools/devtools-protocol/compare/61cfdc3...d932e1e)

```diff
@@ browser_protocol.pdl:8953 @@ domain Page
Expand Down
21 changes: 21 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -13818,6 +13818,27 @@
"description": "Connection type if known.",
"optional": true,
"$ref": "ConnectionType"
},
{
"name": "packetLoss",
"description": "WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.",
"experimental": true,
"optional": true,
"type": "number"
},
{
"name": "packetQueueLength",
"description": "WebRTC packet queue length (packet). 0 removes any queue length limitations.",
"experimental": true,
"optional": true,
"type": "integer"
},
{
"name": "packetReordering",
"description": "WebRTC packetReordering feature.",
"experimental": true,
"optional": true,
"type": "boolean"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1269399",
"version": "0.0.1271365",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
6 changes: 6 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -6356,6 +6356,12 @@ domain Network
number uploadThroughput
# Connection type if known.
optional ConnectionType connectionType
# WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
experimental optional number packetLoss
# WebRTC packet queue length (packet). 0 removes any queue length limitations.
experimental optional integer packetQueueLength
# WebRTC packetReordering feature.
experimental optional boolean packetReordering

# Enables network tracking, network events will now be delivered to the client.
command enable
Expand Down
12 changes: 12 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11220,6 +11220,18 @@ export namespace Protocol {
* Connection type if known.
*/
connectionType?: ConnectionType;
/**
* WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
*/
packetLoss?: number;
/**
* WebRTC packet queue length (packet). 0 removes any queue length limitations.
*/
packetQueueLength?: integer;
/**
* WebRTC packetReordering feature.
*/
packetReordering?: boolean;
}

export interface EnableRequest {
Expand Down

0 comments on commit 08fa435

Please sign in to comment.