Skip to content

Commit 3d03f3d

Browse files
committed
Roll protocol to r1456087
1 parent 4925775 commit 3d03f3d

8 files changed

Lines changed: 552 additions & 101 deletions

changelog.md

Lines changed: 104 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,110 @@
11

22

3+
## Roll protocol to r1456087 — _2025-05-06T04:30:50.000Z_
4+
###### Diff: [`4925775...b560678`](https://github.com/ChromeDevTools/devtools-protocol/compare/4925775...b560678)
5+
6+
```diff
7+
@@ browser_protocol.pdl:7018 @@ domain Network
8+
experimental optional integer maxResourceBufferSize
9+
# Longest post body size (in bytes) that would be included in requestWillBeSent notification
10+
optional integer maxPostDataSize
11+
+ # Whether DirectSocket chunk send/receive events should be reported.
12+
+ experimental optional boolean reportDirectSocketTraffic
13+
14+
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
15+
# information in the `cookies` field.
16+
@@ -7549,18 +7551,80 @@ domain Network
17+
binary data
18+
MonotonicTime timestamp
19+
20+
- # Fired when there is an error
21+
- # when writing to tcp direct socket stream.
22+
- # For example, if user writes illegal type like string
23+
- # instead of ArrayBuffer or ArrayBufferView.
24+
- # There's no reporting for reading, because
25+
- # we cannot know errors on the other side.
26+
- experimental event directTCPSocketChunkError
27+
+ experimental type DirectUDPSocketOptions extends object
28+
+ properties
29+
+ optional string remoteAddr
30+
+ # Unsigned int 16.
31+
+ optional integer remotePort
32+
+
33+
+ optional string localAddr
34+
+ # Unsigned int 16.
35+
+ optional integer localPort
36+
+
37+
+ optional DirectSocketDnsQueryType dnsQueryType
38+
+
39+
+ # Expected to be unsigned integer.
40+
+ optional number sendBufferSize
41+
+ # Expected to be unsigned integer.
42+
+ optional number receiveBufferSize
43+
+
44+
+
45+
+ # Fired upon direct_socket.UDPSocket creation.
46+
+ experimental event directUDPSocketCreated
47+
+ parameters
48+
+ RequestId identifier
49+
+ DirectUDPSocketOptions options
50+
+ MonotonicTime timestamp
51+
+ optional Initiator initiator
52+
+
53+
+ # Fired when direct_socket.UDPSocket connection is opened.
54+
+ experimental event directUDPSocketOpened
55+
+ parameters
56+
+ RequestId identifier
57+
+ string localAddr
58+
+ # Expected to be unsigned integer.
59+
+ integer localPort
60+
+ MonotonicTime timestamp
61+
+ optional string remoteAddr
62+
+ # Expected to be unsigned integer.
63+
+ optional integer remotePort
64+
+
65+
+ # Fired when direct_socket.UDPSocket is aborted.
66+
+ experimental event directUDPSocketAborted
67+
parameters
68+
RequestId identifier
69+
string errorMessage
70+
MonotonicTime timestamp
71+
72+
+ # Fired when direct_socket.UDPSocket is closed.
73+
+ experimental event directUDPSocketClosed
74+
+ parameters
75+
+ RequestId identifier
76+
+ MonotonicTime timestamp
77+
+
78+
+ experimental type DirectUDPMessage extends object
79+
+ properties
80+
+ binary data
81+
+ # Null for connected mode.
82+
+ optional string remoteAddr
83+
+ # Null for connected mode.
84+
+ # Expected to be unsigned integer.
85+
+ optional integer remotePort
86+
+
87+
+ # Fired when message is sent to udp direct socket stream.
88+
+ experimental event directUDPSocketChunkSent
89+
+ parameters
90+
+ RequestId identifier
91+
+ DirectUDPMessage message
92+
+ MonotonicTime timestamp
93+
+
94+
+ # Fired when message is received from udp direct socket stream.
95+
+ experimental event directUDPSocketChunkReceived
96+
+ parameters
97+
+ RequestId identifier
98+
+ DirectUDPMessage message
99+
+ MonotonicTime timestamp
100+
+
101+
experimental type PrivateNetworkRequestPolicy extends string
102+
enum
103+
Allow
104+
```
105+
3106
## Roll protocol to r1454823 — _2025-05-02T04:30:38.000Z_
4-
###### Diff: [`4fe3878...0399b23`](https://github.com/ChromeDevTools/devtools-protocol/compare/4fe3878...0399b23)
107+
###### Diff: [`4fe3878...4925775`](https://github.com/ChromeDevTools/devtools-protocol/compare/4fe3878...4925775)
5108

6109
```diff
7110
@@ browser_protocol.pdl:11380 @@ experimental domain Storage
@@ -13897,61 +14000,4 @@ index 8d8211b..2d56043 100644
1389714000

1389814001
# Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
1389914002
# `true`.
13900-
```
13901-
13902-
## Roll protocol to r1029085 — _2022-07-28T04:34:38.000Z_
13903-
###### Diff: [`47224e5...d36a521`](https://github.com/ChromeDevTools/devtools-protocol/compare/47224e5...d36a521)
13904-
13905-
```diff
13906-
@@ browser_protocol.pdl:699 @@ experimental domain Audits
13907-
type AttributionReportingIssueType extends string
13908-
enum
13909-
PermissionPolicyDisabled
13910-
- # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
13911-
- AttributionSourceUntrustworthyOrigin
13912-
- # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
13913-
- AttributionUntrustworthyOrigin
13914-
UntrustworthyReportingOrigin
13915-
InsecureContext
13916-
# TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
13917-
InvalidHeader
13918-
InvalidRegisterTriggerHeader
13919-
+ InvalidEligibleHeader
13920-
13921-
# Details for issues around "Attribution Reporting API" usage.
13922-
# Explainer: https://github.com/WICG/attribution-reporting-api
13923-
type AttributionReportingIssueDetails extends object
13924-
properties
13925-
AttributionReportingIssueType violationType
13926-
- # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
13927-
- optional AffectedFrame frame
13928-
optional AffectedRequest request
13929-
optional DOM.BackendNodeId violatingNodeId
13930-
optional string invalidParameter
13931-
@@ -4125,8 +4120,11 @@ experimental domain IndexedDB
13932-
# Requests data from object store or index.
13933-
command requestData
13934-
parameters
13935-
+ # At least and at most one of securityOrigin, storageKey must be specified.
13936-
# Security origin.
13937-
- string securityOrigin
13938-
+ optional string securityOrigin
13939-
+ # Storage key.
13940-
+ optional string storageKey
13941-
# Database name.
13942-
string databaseName
13943-
# Object store name.
13944-
@@ -4168,8 +4166,11 @@ experimental domain IndexedDB
13945-
# Requests database with given name in given frame.
13946-
command requestDatabase
13947-
parameters
13948-
+ # At least and at most one of securityOrigin, storageKey must be specified.
13949-
# Security origin.
13950-
- string securityOrigin
13951-
+ optional string securityOrigin
13952-
+ # Storage key.
13953-
+ optional string storageKey
13954-
# Database name.
13955-
string databaseName
13956-
returns
1395714003
```

json/browser_protocol.json

Lines changed: 190 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14616,6 +14616,75 @@
1461614616
}
1461714617
]
1461814618
},
14619+
{
14620+
"id": "DirectUDPSocketOptions",
14621+
"experimental": true,
14622+
"type": "object",
14623+
"properties": [
14624+
{
14625+
"name": "remoteAddr",
14626+
"optional": true,
14627+
"type": "string"
14628+
},
14629+
{
14630+
"name": "remotePort",
14631+
"description": "Unsigned int 16.",
14632+
"optional": true,
14633+
"type": "integer"
14634+
},
14635+
{
14636+
"name": "localAddr",
14637+
"optional": true,
14638+
"type": "string"
14639+
},
14640+
{
14641+
"name": "localPort",
14642+
"description": "Unsigned int 16.",
14643+
"optional": true,
14644+
"type": "integer"
14645+
},
14646+
{
14647+
"name": "dnsQueryType",
14648+
"optional": true,
14649+
"$ref": "DirectSocketDnsQueryType"
14650+
},
14651+
{
14652+
"name": "sendBufferSize",
14653+
"description": "Expected to be unsigned integer.",
14654+
"optional": true,
14655+
"type": "number"
14656+
},
14657+
{
14658+
"name": "receiveBufferSize",
14659+
"description": "Expected to be unsigned integer.",
14660+
"optional": true,
14661+
"type": "number"
14662+
}
14663+
]
14664+
},
14665+
{
14666+
"id": "DirectUDPMessage",
14667+
"experimental": true,
14668+
"type": "object",
14669+
"properties": [
14670+
{
14671+
"name": "data",
14672+
"type": "string"
14673+
},
14674+
{
14675+
"name": "remoteAddr",
14676+
"description": "Null for connected mode.",
14677+
"optional": true,
14678+
"type": "string"
14679+
},
14680+
{
14681+
"name": "remotePort",
14682+
"description": "Null for connected mode.\nExpected to be unsigned integer.",
14683+
"optional": true,
14684+
"type": "integer"
14685+
}
14686+
]
14687+
},
1461914688
{
1462014689
"id": "PrivateNetworkRequestPolicy",
1462114690
"experimental": true,
@@ -15175,6 +15244,13 @@
1517515244
"description": "Longest post body size (in bytes) that would be included in requestWillBeSent notification",
1517615245
"optional": true,
1517715246
"type": "integer"
15247+
},
15248+
{
15249+
"name": "reportDirectSocketTraffic",
15250+
"description": "Whether DirectSocket chunk send/receive events should be reported.",
15251+
"experimental": true,
15252+
"optional": true,
15253+
"type": "boolean"
1517815254
}
1517915255
]
1518015256
},
@@ -16412,8 +16488,67 @@
1641216488
]
1641316489
},
1641416490
{
16415-
"name": "directTCPSocketChunkError",
16416-
"description": "Fired when there is an error\nwhen writing to tcp direct socket stream.\nFor example, if user writes illegal type like string\ninstead of ArrayBuffer or ArrayBufferView.\nThere's no reporting for reading, because\nwe cannot know errors on the other side.",
16491+
"name": "directUDPSocketCreated",
16492+
"description": "Fired upon direct_socket.UDPSocket creation.",
16493+
"experimental": true,
16494+
"parameters": [
16495+
{
16496+
"name": "identifier",
16497+
"$ref": "RequestId"
16498+
},
16499+
{
16500+
"name": "options",
16501+
"$ref": "DirectUDPSocketOptions"
16502+
},
16503+
{
16504+
"name": "timestamp",
16505+
"$ref": "MonotonicTime"
16506+
},
16507+
{
16508+
"name": "initiator",
16509+
"optional": true,
16510+
"$ref": "Initiator"
16511+
}
16512+
]
16513+
},
16514+
{
16515+
"name": "directUDPSocketOpened",
16516+
"description": "Fired when direct_socket.UDPSocket connection is opened.",
16517+
"experimental": true,
16518+
"parameters": [
16519+
{
16520+
"name": "identifier",
16521+
"$ref": "RequestId"
16522+
},
16523+
{
16524+
"name": "localAddr",
16525+
"type": "string"
16526+
},
16527+
{
16528+
"name": "localPort",
16529+
"description": "Expected to be unsigned integer.",
16530+
"type": "integer"
16531+
},
16532+
{
16533+
"name": "timestamp",
16534+
"$ref": "MonotonicTime"
16535+
},
16536+
{
16537+
"name": "remoteAddr",
16538+
"optional": true,
16539+
"type": "string"
16540+
},
16541+
{
16542+
"name": "remotePort",
16543+
"description": "Expected to be unsigned integer.",
16544+
"optional": true,
16545+
"type": "integer"
16546+
}
16547+
]
16548+
},
16549+
{
16550+
"name": "directUDPSocketAborted",
16551+
"description": "Fired when direct_socket.UDPSocket is aborted.",
1641716552
"experimental": true,
1641816553
"parameters": [
1641916554
{
@@ -16430,6 +16565,59 @@
1643016565
}
1643116566
]
1643216567
},
16568+
{
16569+
"name": "directUDPSocketClosed",
16570+
"description": "Fired when direct_socket.UDPSocket is closed.",
16571+
"experimental": true,
16572+
"parameters": [
16573+
{
16574+
"name": "identifier",
16575+
"$ref": "RequestId"
16576+
},
16577+
{
16578+
"name": "timestamp",
16579+
"$ref": "MonotonicTime"
16580+
}
16581+
]
16582+
},
16583+
{
16584+
"name": "directUDPSocketChunkSent",
16585+
"description": "Fired when message is sent to udp direct socket stream.",
16586+
"experimental": true,
16587+
"parameters": [
16588+
{
16589+
"name": "identifier",
16590+
"$ref": "RequestId"
16591+
},
16592+
{
16593+
"name": "message",
16594+
"$ref": "DirectUDPMessage"
16595+
},
16596+
{
16597+
"name": "timestamp",
16598+
"$ref": "MonotonicTime"
16599+
}
16600+
]
16601+
},
16602+
{
16603+
"name": "directUDPSocketChunkReceived",
16604+
"description": "Fired when message is received from udp direct socket stream.",
16605+
"experimental": true,
16606+
"parameters": [
16607+
{
16608+
"name": "identifier",
16609+
"$ref": "RequestId"
16610+
},
16611+
{
16612+
"name": "message",
16613+
"$ref": "DirectUDPMessage"
16614+
},
16615+
{
16616+
"name": "timestamp",
16617+
"$ref": "MonotonicTime"
16618+
}
16619+
]
16620+
},
1643316621
{
1643416622
"name": "requestWillBeSentExtraInfo",
1643516623
"description": "Fired when additional information about a requestWillBeSent event is available from the\nnetwork stack. Not every requestWillBeSent event will have an additional\nrequestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent\nor requestWillBeSentExtraInfo will be fired first for the same request.",

0 commit comments

Comments
 (0)