Skip to content

Commit 11bcaf8

Browse files
committed
Roll protocol to r1504847
1 parent 65c042d commit 11bcaf8

File tree

10 files changed

+228
-44
lines changed

10 files changed

+228
-44
lines changed

changelog.md

Lines changed: 76 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,82 @@
11

22

3+
## Roll protocol to r1504847 — _2025-08-22T04:32:04.000Z_
4+
###### Diff: [`65c042d...03b5ae0`](https://github.com/ChromeDevTools/devtools-protocol/compare/65c042d...03b5ae0)
5+
6+
```diff
7+
@@ domains/Media.pdl:66 @@ experimental domain Media
8+
# Extra data attached to an error, such as an HRESULT, Video Codec, etc.
9+
object data
10+
11+
+ type Player extends object
12+
+ properties
13+
+ PlayerId playerId
14+
+ optional DOM.BackendNodeId domNodeId
15+
+
16+
# This can be called multiple times, and can be used to set / override /
17+
# remove player properties. A null propValue indicates removal.
18+
event playerPropertiesChanged
19+
@@ -93,11 +98,11 @@ experimental domain Media
20+
array of PlayerError errors
21+
22+
# Called whenever a player is created, or when a new agent joins and receives
23+
- # a list of active players. If an agent is restored, it will receive the full
24+
- # list of player ids and all events again.
25+
- event playersCreated
26+
+ # a list of active players. If an agent is restored, it will receive one
27+
+ # event for each active player.
28+
+ event playerCreated
29+
parameters
30+
- array of PlayerId players
31+
+ Player player
32+
33+
# Enables the Media domain
34+
command enable
35+
diff --git a/pdl/domains/Network.pdl b/pdl/domains/Network.pdl
36+
index fca59cc7..8958da96 100644
37+
--- a/pdl/domains/Network.pdl
38+
+++ b/pdl/domains/Network.pdl
39+
@@ -296,6 +296,25 @@ domain Network
40+
corp-not-same-site
41+
sri-message-signature-mismatch
42+
43+
+ # Sets Controls for IP Proxy of requests.
44+
+ # Page reload is required before the new behavior will be observed.
45+
+ experimental type IpProxyStatus extends string
46+
+ enum
47+
+ Available
48+
+ FeatureNotEnabled
49+
+ MaskedDomainListNotEnabled
50+
+ MaskedDomainListNotPopulated
51+
+ AuthTokensUnavailable
52+
+ Unavailable
53+
+ BypassedByDevTools
54+
+
55+
+ # Returns enum representing if IP Proxy of requests is available
56+
+ # or reason it is not active.
57+
+ experimental command getIPProtectionProxyStatus
58+
+ returns
59+
+ # Whether IP proxy is available
60+
+ IpProxyStatus status
61+
+
62+
# The reason why request was blocked.
63+
type CorsError extends string
64+
enum
65+
@@ -1088,6 +1107,10 @@ domain Network
66+
optional integer maxPostDataSize
67+
# Whether DirectSocket chunk send/receive events should be reported.
68+
experimental optional boolean reportDirectSocketTraffic
69+
+ # Enable storing response bodies outside of renderer, so that these survive
70+
+ # a cross-process navigation. Requires maxTotalBufferSize to be set.
71+
+ # Currently defaults to false.
72+
+ experimental optional boolean enableDurableMessages
73+
74+
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
75+
# information in the `cookies` field.
76+
```
77+
378
## Roll protocol to r1503754 — _2025-08-20T04:32:27.000Z_
4-
###### Diff: [`d3d8ab5...bc5c75a`](https://github.com/ChromeDevTools/devtools-protocol/compare/d3d8ab5...bc5c75a)
79+
###### Diff: [`d3d8ab5...65c042d`](https://github.com/ChromeDevTools/devtools-protocol/compare/d3d8ab5...65c042d)
580

681
```diff
782
@@ domains/Network.pdl:1088 @@ domain Network
@@ -41850,18 +41925,4 @@ index d4102f5c..6285d9b6 100644
4185041925
# Returns information about all running processes.
4185141926
command getProcessInfo
4185241927
returns
41853-
```
41854-
41855-
## Roll protocol to r1079624 — _2022-12-06T04:28:29.000Z_
41856-
###### Diff: [`8af7bb2...c1e172c`](https://github.com/ChromeDevTools/devtools-protocol/compare/8af7bb2...c1e172c)
41857-
41858-
```diff
41859-
@@ browser_protocol.pdl:1100 @@ domain Browser
41860-
enum
41861-
granted
41862-
denied
41863-
+ prompt
41864-
41865-
# Definition of PermissionDescriptor defined in the Permissions API:
41866-
# https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
4186741928
```

json/browser_protocol.json

Lines changed: 53 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14435,6 +14435,21 @@
1443514435
"type": "object"
1443614436
}
1443714437
]
14438+
},
14439+
{
14440+
"id": "Player",
14441+
"type": "object",
14442+
"properties": [
14443+
{
14444+
"name": "playerId",
14445+
"$ref": "PlayerId"
14446+
},
14447+
{
14448+
"name": "domNodeId",
14449+
"optional": true,
14450+
"$ref": "DOM.BackendNodeId"
14451+
}
14452+
]
1443814453
}
1443914454
],
1444014455
"events": [
@@ -14507,15 +14522,12 @@
1450714522
]
1450814523
},
1450914524
{
14510-
"name": "playersCreated",
14511-
"description": "Called whenever a player is created, or when a new agent joins and receives\na list of active players. If an agent is restored, it will receive the full\nlist of player ids and all events again.",
14525+
"name": "playerCreated",
14526+
"description": "Called whenever a player is created, or when a new agent joins and receives\na list of active players. If an agent is restored, it will receive one\nevent for each active player.",
1451214527
"parameters": [
1451314528
{
14514-
"name": "players",
14515-
"type": "array",
14516-
"items": {
14517-
"$ref": "PlayerId"
14518-
}
14529+
"name": "player",
14530+
"$ref": "Player"
1451914531
}
1452014532
]
1452114533
}
@@ -15301,6 +15313,21 @@
1530115313
"sri-message-signature-mismatch"
1530215314
]
1530315315
},
15316+
{
15317+
"id": "IpProxyStatus",
15318+
"description": "Sets Controls for IP Proxy of requests.\nPage reload is required before the new behavior will be observed.",
15319+
"experimental": true,
15320+
"type": "string",
15321+
"enum": [
15322+
"Available",
15323+
"FeatureNotEnabled",
15324+
"MaskedDomainListNotEnabled",
15325+
"MaskedDomainListNotPopulated",
15326+
"AuthTokensUnavailable",
15327+
"Unavailable",
15328+
"BypassedByDevTools"
15329+
]
15330+
},
1530415331
{
1530515332
"id": "CorsError",
1530615333
"description": "The reason why request was blocked.",
@@ -16867,6 +16894,18 @@
1686716894
}
1686816895
],
1686916896
"commands": [
16897+
{
16898+
"name": "getIPProtectionProxyStatus",
16899+
"description": "Returns enum representing if IP Proxy of requests is available\nor reason it is not active.",
16900+
"experimental": true,
16901+
"returns": [
16902+
{
16903+
"name": "status",
16904+
"description": "Whether IP proxy is available",
16905+
"$ref": "IpProxyStatus"
16906+
}
16907+
]
16908+
},
1687016909
{
1687116910
"name": "setAcceptedEncodings",
1687216911
"description": "Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.",
@@ -17108,6 +17147,13 @@
1710817147
"experimental": true,
1710917148
"optional": true,
1711017149
"type": "boolean"
17150+
},
17151+
{
17152+
"name": "enableDurableMessages",
17153+
"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.",
17154+
"experimental": true,
17155+
"optional": true,
17156+
"type": "boolean"
1711117157
}
1711217158
]
1711317159
},

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.1503754",
3+
"version": "0.0.1504847",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/Media.pdl

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ experimental domain Media
6666
# Extra data attached to an error, such as an HRESULT, Video Codec, etc.
6767
object data
6868

69+
type Player extends object
70+
properties
71+
PlayerId playerId
72+
optional DOM.BackendNodeId domNodeId
73+
6974
# This can be called multiple times, and can be used to set / override /
7075
# remove player properties. A null propValue indicates removal.
7176
event playerPropertiesChanged
@@ -93,11 +98,11 @@ experimental domain Media
9398
array of PlayerError errors
9499

95100
# Called whenever a player is created, or when a new agent joins and receives
96-
# a list of active players. If an agent is restored, it will receive the full
97-
# list of player ids and all events again.
98-
event playersCreated
101+
# a list of active players. If an agent is restored, it will receive one
102+
# event for each active player.
103+
event playerCreated
99104
parameters
100-
array of PlayerId players
105+
Player player
101106

102107
# Enables the Media domain
103108
command enable

pdl/domains/Network.pdl

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,25 @@ domain Network
296296
corp-not-same-site
297297
sri-message-signature-mismatch
298298

299+
# Sets Controls for IP Proxy of requests.
300+
# Page reload is required before the new behavior will be observed.
301+
experimental type IpProxyStatus extends string
302+
enum
303+
Available
304+
FeatureNotEnabled
305+
MaskedDomainListNotEnabled
306+
MaskedDomainListNotPopulated
307+
AuthTokensUnavailable
308+
Unavailable
309+
BypassedByDevTools
310+
311+
# Returns enum representing if IP Proxy of requests is available
312+
# or reason it is not active.
313+
experimental command getIPProtectionProxyStatus
314+
returns
315+
# Whether IP proxy is available
316+
IpProxyStatus status
317+
299318
# The reason why request was blocked.
300319
type CorsError extends string
301320
enum
@@ -1088,6 +1107,10 @@ domain Network
10881107
optional integer maxPostDataSize
10891108
# Whether DirectSocket chunk send/receive events should be reported.
10901109
experimental optional boolean reportDirectSocketTraffic
1110+
# Enable storing response bodies outside of renderer, so that these survive
1111+
# a cross-process navigation. Requires maxTotalBufferSize to be set.
1112+
# Currently defaults to false.
1113+
experimental optional boolean enableDurableMessages
10911114

10921115
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
10931116
# information in the `cookies` field.

types/protocol-mapping.d.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ export namespace ProtocolMapping {
356356
'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
357357
/**
358358
* Called whenever a player is created, or when a new agent joins and receives
359-
* a list of active players. If an agent is restored, it will receive the full
360-
* list of player ids and all events again.
359+
* a list of active players. If an agent is restored, it will receive one
360+
* event for each active player.
361361
*/
362-
'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
362+
'Media.playerCreated': [Protocol.Media.PlayerCreatedEvent];
363363
/**
364364
* Fired when data chunk was received over the network.
365365
*/
@@ -4056,6 +4056,15 @@ export namespace ProtocolMapping {
40564056
paramsType: [];
40574057
returnType: Protocol.Memory.GetSamplingProfileResponse;
40584058
};
4059+
/**
4060+
* Returns enum representing if IP Proxy of requests is available
4061+
* or reason it is not active.
4062+
* @experimental
4063+
*/
4064+
'Network.getIPProtectionProxyStatus': {
4065+
paramsType: [];
4066+
returnType: Protocol.Network.GetIPProtectionProxyStatusResponse;
4067+
};
40594068
/**
40604069
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
40614070
* @experimental

types/protocol-proxy-api.d.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,10 +2875,10 @@ export namespace ProtocolProxyApi {
28752875

28762876
/**
28772877
* Called whenever a player is created, or when a new agent joins and receives
2878-
* a list of active players. If an agent is restored, it will receive the full
2879-
* list of player ids and all events again.
2878+
* a list of active players. If an agent is restored, it will receive one
2879+
* event for each active player.
28802880
*/
2881-
on(event: 'playersCreated', listener: (params: Protocol.Media.PlayersCreatedEvent) => void): void;
2881+
on(event: 'playerCreated', listener: (params: Protocol.Media.PlayerCreatedEvent) => void): void;
28822882

28832883
}
28842884

@@ -2945,6 +2945,13 @@ export namespace ProtocolProxyApi {
29452945
}
29462946

29472947
export interface NetworkApi {
2948+
/**
2949+
* Returns enum representing if IP Proxy of requests is available
2950+
* or reason it is not active.
2951+
* @experimental
2952+
*/
2953+
getIPProtectionProxyStatus(): Promise<Protocol.Network.GetIPProtectionProxyStatusResponse>;
2954+
29482955
/**
29492956
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
29502957
* @experimental

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

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3039,12 +3039,12 @@ export namespace ProtocolTestsProxyApi {
30393039

30403040
/**
30413041
* Called whenever a player is created, or when a new agent joins and receives
3042-
* a list of active players. If an agent is restored, it will receive the full
3043-
* list of player ids and all events again.
3042+
* a list of active players. If an agent is restored, it will receive one
3043+
* event for each active player.
30443044
*/
3045-
onPlayersCreated(listener: (event: { params: Protocol.Media.PlayersCreatedEvent }) => void): void;
3046-
offPlayersCreated(listener: (event: { params: Protocol.Media.PlayersCreatedEvent }) => void): void;
3047-
oncePlayersCreated(eventMatcher?: (event: { params: Protocol.Media.PlayersCreatedEvent }) => boolean): Promise<{ params: Protocol.Media.PlayersCreatedEvent }>;
3045+
onPlayerCreated(listener: (event: { params: Protocol.Media.PlayerCreatedEvent }) => void): void;
3046+
offPlayerCreated(listener: (event: { params: Protocol.Media.PlayerCreatedEvent }) => void): void;
3047+
oncePlayerCreated(eventMatcher?: (event: { params: Protocol.Media.PlayerCreatedEvent }) => boolean): Promise<{ params: Protocol.Media.PlayerCreatedEvent }>;
30483048

30493049
}
30503050

@@ -3111,6 +3111,13 @@ export namespace ProtocolTestsProxyApi {
31113111
}
31123112

31133113
export interface NetworkApi {
3114+
/**
3115+
* Returns enum representing if IP Proxy of requests is available
3116+
* or reason it is not active.
3117+
* @experimental
3118+
*/
3119+
getIPProtectionProxyStatus(): Promise<{id: number, result: Protocol.Network.GetIPProtectionProxyStatusResponse, sessionId: string}>;
3120+
31143121
/**
31153122
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
31163123
* @experimental

0 commit comments

Comments
 (0)