Skip to content

Commit 0d43ecd

Browse files
committed
Roll protocol to r1526016
1 parent a73a111 commit 0d43ecd

File tree

12 files changed

+103
-68
lines changed

12 files changed

+103
-68
lines changed

changelog.md

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

22

3+
## Roll protocol to r1526016 — _2025-10-07T04:31:13.000Z_
4+
###### Diff: [`a73a111...cce2fe7`](https://github.com/ChromeDevTools/devtools-protocol/compare/a73a111...cce2fe7)
5+
6+
```diff
7+
@@ domains/Browser.pdl:103 @@ domain Browser
8+
closeTabSearch
9+
openGlic
10+
11+
- # Set permission settings for given requesting and embedding origins.
12+
+ # Set permission settings for given embedding and embedded origins.
13+
experimental command setPermission
14+
parameters
15+
# Descriptor of permission to override.
16+
PermissionDescriptor permission
17+
# Setting of the permission.
18+
PermissionSetting setting
19+
- # Requesting origin the permission applies to, all origins if not specified.
20+
+ # Embedding origin the permission applies to, all origins if not specified.
21+
optional string origin
22+
- # Embedding origin the permission applies to. It is ignored unless the requesting origin is
23+
- # present and valid. If the requesting origin is provided but the embedding origin isn't, the
24+
- # requesting origin is used as the embedding origin.
25+
- optional string embeddingOrigin
26+
+ # Embedded origin the permission applies to. It is ignored unless the embedding origin is
27+
+ # present and valid. If the embedding origin is provided but the embedded origin isn't, the
28+
+ # embedding origin is used as the embedded origin.
29+
+ optional string embeddedOrigin
30+
# Context to override. When omitted, default browser context is used.
31+
optional BrowserContextID browserContextId
32+
33+
diff --git a/pdl/domains/Network.pdl b/pdl/domains/Network.pdl
34+
index 03538feb..c2cdeb1b 100644
35+
--- a/pdl/domains/Network.pdl
36+
+++ b/pdl/domains/Network.pdl
37+
@@ -1090,8 +1090,8 @@ domain Network
38+
experimental type NetworkConditions extends object
39+
properties
40+
# Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
41+
- # syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
42+
- # connections).
43+
+ # syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
44+
+ # matched (including p2p connections).
45+
string urlPattern
46+
# Minimum latency from request sent to response headers received (ms).
47+
number latency
48+
@@ -1269,7 +1269,7 @@ domain Network
49+
experimental command setBlockedURLs
50+
parameters
51+
# URL patterns to block. Patterns use the URLPattern constructor string syntax
52+
- # (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
53+
+ # (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*/*.css`.
54+
optional array of string urlPatterns
55+
# URL patterns to block. Wildcards ('*') are allowed.
56+
deprecated optional array of string urls
57+
diff --git a/pdl/domains/Preload.pdl b/pdl/domains/Preload.pdl
58+
index fd3222ab..8e9c8a2e 100644
59+
--- a/pdl/domains/Preload.pdl
60+
+++ b/pdl/domains/Preload.pdl
61+
@@ -57,6 +57,7 @@ experimental domain Preload
62+
enum
63+
Prefetch
64+
Prerender
65+
+ PrerenderUntilScript
66+
67+
# Corresponds to mojom::SpeculationTargetHint.
68+
# See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
69+
```
70+
371
## Roll protocol to r1525085 — _2025-10-03T23:52:47.000Z_
4-
###### Diff: [`34e1e23...8ac8428`](https://github.com/ChromeDevTools/devtools-protocol/compare/34e1e23...8ac8428)
72+
###### Diff: [`34e1e23...a73a111`](https://github.com/ChromeDevTools/devtools-protocol/compare/34e1e23...a73a111)
573

674
```diff
775
@@ domains/Browser.pdl:119 @@ domain Browser
@@ -42025,39 +42093,4 @@ index d4102f5c..6285d9b6 100644
4202542093

4202642094
# Depending on the concrete errorType, different properties are set.
4202742095
type GenericIssueDetails extends object
42028-
```
42029-
42030-
## Roll protocol to r1097787 — _2023-01-27T04:28:00.000Z_
42031-
###### Diff: [`c72fa9e...a73bac7`](https://github.com/ChromeDevTools/devtools-protocol/compare/c72fa9e...a73bac7)
42032-
42033-
```diff
42034-
@@ browser_protocol.pdl:802 @@ experimental domain Audits
42035-
PrefixedVideoExitFullscreen
42036-
PrefixedVideoExitFullScreen
42037-
PrefixedVideoSupportsFullscreen
42038-
+ PrivacySandboxExtensionsAPI
42039-
RangeExpand
42040-
RequestedSubresourceWithEmbeddedCredentials
42041-
RTCConstraintEnableDtlsSrtpFalse
42042-
@@ -6401,6 +6402,11 @@ domain Network
42043-
# Raw response header text as it was received over the wire. The raw text may not always be
42044-
# available, such as in the case of HTTP/2 or QUIC.
42045-
optional string headersText
42046-
+ # The cookie partition key that will be used to store partitioned cookies set in this response.
42047-
+ # Only sent when partitioned cookies are enabled.
42048-
+ optional string cookiePartitionKey
42049-
+ # True if partitioned cookies are enabled, but the partition key is not serializeable to string.
42050-
+ optional boolean cookiePartitionKeyOpaque
42051-
42052-
# Fired exactly once for each Trust Token operation. Depending on
42053-
# the type of the operation and whether the operation succeeded or
42054-
@@ -8574,6 +8580,8 @@ domain Page
42055-
PrimaryMainFrameRendererProcessCrashed
42056-
PrimaryMainFrameRendererProcessKilled
42057-
ActivationFramePolicyNotCompatible
42058-
+ PreloadingDisabled
42059-
+ BatterySaverEnabled
42060-
42061-
# Fired when a prerender attempt is completed.
42062-
experimental event prerenderAttemptCompleted
4206342096
```

json/browser_protocol.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,7 +3532,7 @@
35323532
"commands": [
35333533
{
35343534
"name": "setPermission",
3535-
"description": "Set permission settings for given requesting and embedding origins.",
3535+
"description": "Set permission settings for given embedding and embedded origins.",
35363536
"experimental": true,
35373537
"parameters": [
35383538
{
@@ -3547,13 +3547,13 @@
35473547
},
35483548
{
35493549
"name": "origin",
3550-
"description": "Requesting origin the permission applies to, all origins if not specified.",
3550+
"description": "Embedding origin the permission applies to, all origins if not specified.",
35513551
"optional": true,
35523552
"type": "string"
35533553
},
35543554
{
3555-
"name": "embeddingOrigin",
3556-
"description": "Embedding origin the permission applies to. It is ignored unless the requesting origin is\npresent and valid. If the requesting origin is provided but the embedding origin isn't, the\nrequesting origin is used as the embedding origin.",
3555+
"name": "embeddedOrigin",
3556+
"description": "Embedded origin the permission applies to. It is ignored unless the embedding origin is\npresent and valid. If the embedding origin is provided but the embedded origin isn't, the\nembedding origin is used as the embedded origin.",
35573557
"optional": true,
35583558
"type": "string"
35593559
},
@@ -16552,7 +16552,7 @@
1655216552
"properties": [
1655316553
{
1655416554
"name": "urlPattern",
16555-
"description": "Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string\nsyntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p\nconnections).",
16555+
"description": "Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string\nsyntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are\nmatched (including p2p connections).",
1655616556
"type": "string"
1655716557
},
1655816558
{
@@ -17574,7 +17574,7 @@
1757417574
"parameters": [
1757517575
{
1757617576
"name": "urlPatterns",
17577-
"description": "URL patterns to block. Patterns use the URLPattern constructor string syntax\n(https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.",
17577+
"description": "URL patterns to block. Patterns use the URLPattern constructor string syntax\n(https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*/*.css`.",
1757817578
"optional": true,
1757917579
"type": "array",
1758017580
"items": {
@@ -24237,7 +24237,8 @@
2423724237
"type": "string",
2423824238
"enum": [
2423924239
"Prefetch",
24240-
"Prerender"
24240+
"Prerender",
24241+
"PrerenderUntilScript"
2424124242
]
2424224243
},
2424324244
{

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

pdl/domains/Browser.pdl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,19 @@ domain Browser
103103
closeTabSearch
104104
openGlic
105105

106-
# Set permission settings for given requesting and embedding origins.
106+
# Set permission settings for given embedding and embedded origins.
107107
experimental command setPermission
108108
parameters
109109
# Descriptor of permission to override.
110110
PermissionDescriptor permission
111111
# Setting of the permission.
112112
PermissionSetting setting
113-
# Requesting origin the permission applies to, all origins if not specified.
113+
# Embedding origin the permission applies to, all origins if not specified.
114114
optional string origin
115-
# Embedding origin the permission applies to. It is ignored unless the requesting origin is
116-
# present and valid. If the requesting origin is provided but the embedding origin isn't, the
117-
# requesting origin is used as the embedding origin.
118-
optional string embeddingOrigin
115+
# Embedded origin the permission applies to. It is ignored unless the embedding origin is
116+
# present and valid. If the embedding origin is provided but the embedded origin isn't, the
117+
# embedding origin is used as the embedded origin.
118+
optional string embeddedOrigin
119119
# Context to override. When omitted, default browser context is used.
120120
optional BrowserContextID browserContextId
121121

pdl/domains/Network.pdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,8 +1090,8 @@ domain Network
10901090
experimental type NetworkConditions extends object
10911091
properties
10921092
# Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
1093-
# syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
1094-
# connections).
1093+
# syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
1094+
# matched (including p2p connections).
10951095
string urlPattern
10961096
# Minimum latency from request sent to response headers received (ms).
10971097
number latency
@@ -1269,7 +1269,7 @@ domain Network
12691269
experimental command setBlockedURLs
12701270
parameters
12711271
# URL patterns to block. Patterns use the URLPattern constructor string syntax
1272-
# (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
1272+
# (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*/*.css`.
12731273
optional array of string urlPatterns
12741274
# URL patterns to block. Wildcards ('*') are allowed.
12751275
deprecated optional array of string urls

pdl/domains/Preload.pdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ experimental domain Preload
5757
enum
5858
Prefetch
5959
Prerender
60+
PrerenderUntilScript
6061

6162
# Corresponds to mojom::SpeculationTargetHint.
6263
# See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints

scripts/inspector_protocol

Submodule inspector_protocol updated from 1b1bcbb to 679b33a

types/protocol-mapping.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@ export namespace ProtocolMapping {
19281928
returnType: void;
19291929
};
19301930
/**
1931-
* Set permission settings for given requesting and embedding origins.
1931+
* Set permission settings for given embedding and embedded origins.
19321932
* @experimental
19331933
*/
19341934
'Browser.setPermission': {

types/protocol-proxy-api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ export namespace ProtocolProxyApi {
10351035

10361036
export interface BrowserApi {
10371037
/**
1038-
* Set permission settings for given requesting and embedding origins.
1038+
* Set permission settings for given embedding and embedded origins.
10391039
* @experimental
10401040
*/
10411041
setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;

0 commit comments

Comments
 (0)