Skip to content

Commit ead0e84

Browse files
committed
Roll protocol to r1559729
1 parent d90a8a2 commit ead0e84

9 files changed

Lines changed: 106 additions & 22 deletions

changelog.md

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,36 @@
11

22

3+
## Roll protocol to r1559729 — _2025-12-17T04:33:54.000Z_
4+
###### Diff: [`d90a8a2...d8e4778`](https://github.com/ChromeDevTools/devtools-protocol/compare/d90a8a2...d8e4778)
5+
6+
```diff
7+
@@ domains/Network.pdl:1145 @@ domain Network
8+
experimental optional boolean reportDirectSocketTraffic
9+
# Enable storing response bodies outside of renderer, so that these survive
10+
# a cross-process navigation. Requires maxTotalBufferSize to be set.
11+
- # Currently defaults to false.
12+
+ # Currently defaults to false. This field is being deprecated in favor of the dedicated
13+
+ # configureDurableMessages command, due to the possibility of deadlocks when awaiting
14+
+ # Network.enable before issuing Runtime.runIfWaitingForDebugger.
15+
experimental optional boolean enableDurableMessages
16+
17+
+ # Configures storing response bodies outside of renderer, so that these survive
18+
+ # a cross-process navigation.
19+
+ # If maxTotalBufferSize is not set, durable messages are disabled.
20+
+ experimental command configureDurableMessages
21+
+ parameters
22+
+ # Buffer size in bytes to use when preserving network payloads (XHRs, etc).
23+
+ optional integer maxTotalBufferSize
24+
+ # Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
25+
+ optional integer maxResourceBufferSize
26+
+
27+
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
28+
# information in the `cookies` field.
29+
# Deprecated. Use Storage.getCookies instead.
30+
```
31+
332
## Roll protocol to r1558402 — _2025-12-13T04:32:36.000Z_
4-
###### Diff: [`ab59de7...0d8f2df`](https://github.com/ChromeDevTools/devtools-protocol/compare/ab59de7...0d8f2df)
33+
###### Diff: [`ab59de7...d90a8a2`](https://github.com/ChromeDevTools/devtools-protocol/compare/ab59de7...d90a8a2)
534

635
```diff
736
@@ domains/Browser.pdl:49 @@ domain Browser
@@ -42091,19 +42120,4 @@ index 0dbdc01d..7a3c772c 100644
4209142120
command disable
4209242121

4209342122
command selectAccount
42094-
```
42095-
42096-
## Roll protocol to r1119014 — _2023-03-18T04:27:47.000Z_
42097-
###### Diff: [`4e13b66...40d0eff`](https://github.com/ChromeDevTools/devtools-protocol/compare/4e13b66...40d0eff)
42098-
42099-
```diff
42100-
@@ browser_protocol.pdl:1409 @@ experimental domain CSS
42101-
optional StyleSheetId styleSheetId
42102-
# Rule selector data.
42103-
SelectorList selectorList
42104-
+ # Array of selectors from ancestor style rules, sorted by distance from the current rule.
42105-
+ experimental optional array of string nestingSelectors
42106-
# Parent stylesheet's origin.
42107-
StyleSheetOrigin origin
42108-
# Associated style declaration.
4210942123
```

json/browser_protocol.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17510,13 +17510,32 @@
1751017510
},
1751117511
{
1751217512
"name": "enableDurableMessages",
17513-
"description": "Enable storing response bodies outside of renderer, so that these survive\na cross-process navigation. Requires maxTotalBufferSize to be set.\nCurrently defaults to false.",
17513+
"description": "Enable storing response bodies outside of renderer, so that these survive\na cross-process navigation. Requires maxTotalBufferSize to be set.\nCurrently defaults to false. This field is being deprecated in favor of the dedicated\nconfigureDurableMessages command, due to the possibility of deadlocks when awaiting\nNetwork.enable before issuing Runtime.runIfWaitingForDebugger.",
1751417514
"experimental": true,
1751517515
"optional": true,
1751617516
"type": "boolean"
1751717517
}
1751817518
]
1751917519
},
17520+
{
17521+
"name": "configureDurableMessages",
17522+
"description": "Configures storing response bodies outside of renderer, so that these survive\na cross-process navigation.\nIf maxTotalBufferSize is not set, durable messages are disabled.",
17523+
"experimental": true,
17524+
"parameters": [
17525+
{
17526+
"name": "maxTotalBufferSize",
17527+
"description": "Buffer size in bytes to use when preserving network payloads (XHRs, etc).",
17528+
"optional": true,
17529+
"type": "integer"
17530+
},
17531+
{
17532+
"name": "maxResourceBufferSize",
17533+
"description": "Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).",
17534+
"optional": true,
17535+
"type": "integer"
17536+
}
17537+
]
17538+
},
1752017539
{
1752117540
"name": "getAllCookies",
1752217541
"description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie\ninformation in the `cookies` field.\nDeprecated. Use Storage.getCookies instead.",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1558402",
3+
"version": "0.0.1559729",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/Network.pdl

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,9 +1145,21 @@ domain Network
11451145
experimental optional boolean reportDirectSocketTraffic
11461146
# Enable storing response bodies outside of renderer, so that these survive
11471147
# a cross-process navigation. Requires maxTotalBufferSize to be set.
1148-
# Currently defaults to false.
1148+
# Currently defaults to false. This field is being deprecated in favor of the dedicated
1149+
# configureDurableMessages command, due to the possibility of deadlocks when awaiting
1150+
# Network.enable before issuing Runtime.runIfWaitingForDebugger.
11491151
experimental optional boolean enableDurableMessages
11501152

1153+
# Configures storing response bodies outside of renderer, so that these survive
1154+
# a cross-process navigation.
1155+
# If maxTotalBufferSize is not set, durable messages are disabled.
1156+
experimental command configureDurableMessages
1157+
parameters
1158+
# Buffer size in bytes to use when preserving network payloads (XHRs, etc).
1159+
optional integer maxTotalBufferSize
1160+
# Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
1161+
optional integer maxResourceBufferSize
1162+
11511163
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
11521164
# information in the `cookies` field.
11531165
# Deprecated. Use Storage.getCookies instead.

types/protocol-mapping.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4178,6 +4178,16 @@ export namespace ProtocolMapping {
41784178
paramsType: [Protocol.Network.EnableRequest?];
41794179
returnType: void;
41804180
};
4181+
/**
4182+
* Configures storing response bodies outside of renderer, so that these survive
4183+
* a cross-process navigation.
4184+
* If maxTotalBufferSize is not set, durable messages are disabled.
4185+
* @experimental
4186+
*/
4187+
'Network.configureDurableMessages': {
4188+
paramsType: [Protocol.Network.ConfigureDurableMessagesRequest?];
4189+
returnType: void;
4190+
};
41814191
/**
41824192
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
41834193
* information in the `cookies` field.

types/protocol-proxy-api.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,6 +3056,14 @@ export namespace ProtocolProxyApi {
30563056
*/
30573057
enable(params: Protocol.Network.EnableRequest): Promise<void>;
30583058

3059+
/**
3060+
* Configures storing response bodies outside of renderer, so that these survive
3061+
* a cross-process navigation.
3062+
* If maxTotalBufferSize is not set, durable messages are disabled.
3063+
* @experimental
3064+
*/
3065+
configureDurableMessages(params: Protocol.Network.ConfigureDurableMessagesRequest): Promise<void>;
3066+
30593067
/**
30603068
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
30613069
* information in the `cookies` field.

types/protocol-tests-proxy-api.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3228,6 +3228,14 @@ export namespace ProtocolTestsProxyApi {
32283228
*/
32293229
enable(params: Protocol.Network.EnableRequest): Promise<{id: number, result: void, sessionId: string}>;
32303230

3231+
/**
3232+
* Configures storing response bodies outside of renderer, so that these survive
3233+
* a cross-process navigation.
3234+
* If maxTotalBufferSize is not set, durable messages are disabled.
3235+
* @experimental
3236+
*/
3237+
configureDurableMessages(params: Protocol.Network.ConfigureDurableMessagesRequest): Promise<{id: number, result: void, sessionId: string}>;
3238+
32313239
/**
32323240
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
32333241
* information in the `cookies` field.

types/protocol.d.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13763,12 +13763,25 @@ export namespace Protocol {
1376313763
/**
1376413764
* Enable storing response bodies outside of renderer, so that these survive
1376513765
* a cross-process navigation. Requires maxTotalBufferSize to be set.
13766-
* Currently defaults to false.
13766+
* Currently defaults to false. This field is being deprecated in favor of the dedicated
13767+
* configureDurableMessages command, due to the possibility of deadlocks when awaiting
13768+
* Network.enable before issuing Runtime.runIfWaitingForDebugger.
1376713769
* @experimental
1376813770
*/
1376913771
enableDurableMessages?: boolean;
1377013772
}
1377113773

13774+
export interface ConfigureDurableMessagesRequest {
13775+
/**
13776+
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
13777+
*/
13778+
maxTotalBufferSize?: integer;
13779+
/**
13780+
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
13781+
*/
13782+
maxResourceBufferSize?: integer;
13783+
}
13784+
1377213785
export interface GetAllCookiesResponse {
1377313786
/**
1377413787
* Array of cookie objects.

0 commit comments

Comments
 (0)