Skip to content

Commit ede3fcf

Browse files
committed
Roll protocol to r1508733
1 parent f87879c commit ede3fcf

File tree

9 files changed

+55
-26
lines changed

9 files changed

+55
-26
lines changed

changelog.md

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

22

3+
## Roll protocol to r1508733 — _2025-08-30T04:30:36.000Z_
4+
###### Diff: [`f87879c...7ceed45`](https://github.com/ChromeDevTools/devtools-protocol/compare/f87879c...7ceed45)
5+
6+
```diff
7+
@@ domains/Browser.pdl:103 @@ domain Browser
8+
closeTabSearch
9+
openGlic
10+
11+
- # Set permission settings for given origin.
12+
+ # Set permission settings for given requesting and embedding 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+
- # Origin the permission applies to, all origins if not specified.
20+
+ # Requesting 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+
# Context to override. When omitted, default browser context is used.
27+
optional BrowserContextID browserContextId
28+
```
29+
330
## Roll protocol to r1507524 — _2025-08-28T04:31:32.000Z_
4-
###### Diff: [`8952758...039acc0`](https://github.com/ChromeDevTools/devtools-protocol/compare/8952758...039acc0)
31+
###### Diff: [`8952758...f87879c`](https://github.com/ChromeDevTools/devtools-protocol/compare/8952758...f87879c)
532

633
```diff
734
@@ domains/Network.pdl:1107 @@ domain Network
@@ -41906,20 +41933,6 @@ index d4102f5c..6285d9b6 100644
4190641933
ActivatedInBackground
4190741934
+ EmbedderHostDisallowed
4190841935

41909-
# Fired when a prerender attempt is completed.
41910-
experimental event prerenderAttemptCompleted
41911-
```
41912-
41913-
## Roll protocol to r1082281 — _2022-12-13T04:28:57.000Z_
41914-
###### Diff: [`178dea5...5428889`](https://github.com/ChromeDevTools/devtools-protocol/compare/178dea5...5428889)
41915-
41916-
```diff
41917-
@@ browser_protocol.pdl:8547 @@ domain Page
41918-
SameSiteCrossOriginRedirectNotOptIn
41919-
SameSiteCrossOriginNavigationNotOptIn
41920-
ActivationNavigationParameterMismatch
41921-
+ ActivatedInBackground
41922-
4192341936
# Fired when a prerender attempt is completed.
4192441937
experimental event prerenderAttemptCompleted
4192541938
```

json/browser_protocol.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3506,7 +3506,7 @@
35063506
"commands": [
35073507
{
35083508
"name": "setPermission",
3509-
"description": "Set permission settings for given origin.",
3509+
"description": "Set permission settings for given requesting and embedding origins.",
35103510
"experimental": true,
35113511
"parameters": [
35123512
{
@@ -3521,7 +3521,13 @@
35213521
},
35223522
{
35233523
"name": "origin",
3524-
"description": "Origin the permission applies to, all origins if not specified.",
3524+
"description": "Requesting origin the permission applies to, all origins if not specified.",
3525+
"optional": true,
3526+
"type": "string"
3527+
},
3528+
{
3529+
"name": "embeddingOrigin",
3530+
"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.",
35253531
"optional": true,
35263532
"type": "string"
35273533
},

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.1507524",
3+
"version": "0.0.1508733",
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,19 @@ domain Browser
103103
closeTabSearch
104104
openGlic
105105

106-
# Set permission settings for given origin.
106+
# Set permission settings for given requesting and embedding 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-
# Origin the permission applies to, all origins if not specified.
113+
# Requesting 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
115119
# Context to override. When omitted, default browser context is used.
116120
optional BrowserContextID browserContextId
117121

types/protocol-mapping.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ export namespace ProtocolMapping {
19191919
returnType: void;
19201920
};
19211921
/**
1922-
* Set permission settings for given origin.
1922+
* Set permission settings for given requesting and embedding origins.
19231923
* @experimental
19241924
*/
19251925
'Browser.setPermission': {

types/protocol-proxy-api.d.ts

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

10321032
export interface BrowserApi {
10331033
/**
1034-
* Set permission settings for given origin.
1034+
* Set permission settings for given requesting and embedding origins.
10351035
* @experimental
10361036
*/
10371037
setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ export namespace ProtocolTestsProxyApi {
11011101

11021102
export interface BrowserApi {
11031103
/**
1104-
* Set permission settings for given origin.
1104+
* Set permission settings for given requesting and embedding origins.
11051105
* @experimental
11061106
*/
11071107
setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<{id: number, result: void, sessionId: string}>;

types/protocol.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4606,9 +4606,15 @@ export namespace Protocol {
46064606
*/
46074607
setting: PermissionSetting;
46084608
/**
4609-
* Origin the permission applies to, all origins if not specified.
4609+
* Requesting origin the permission applies to, all origins if not specified.
46104610
*/
46114611
origin?: string;
4612+
/**
4613+
* Embedding origin the permission applies to. It is ignored unless the requesting origin is
4614+
* present and valid. If the requesting origin is provided but the embedding origin isn't, the
4615+
* requesting origin is used as the embedding origin.
4616+
*/
4617+
embeddingOrigin?: string;
46124618
/**
46134619
* Context to override. When omitted, default browser context is used.
46144620
*/

0 commit comments

Comments
 (0)