Skip to content

Commit f9dda30

Browse files
committed
Roll protocol to r1484773
1 parent 3952063 commit f9dda30

File tree

8 files changed

+97
-29
lines changed

8 files changed

+97
-29
lines changed

changelog.md

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

22

3+
## Roll protocol to r1484773 — _2025-07-10T04:32:32.000Z_
4+
###### Diff: [`3952063...0bf3c43`](https://github.com/ChromeDevTools/devtools-protocol/compare/3952063...0bf3c43)
5+
6+
```diff
7+
@@ browser_protocol.pdl:1748 @@ domain Browser
8+
# with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
9+
Bounds bounds
10+
11+
+ # Set size of the browser contents resizing browser window as necessary.
12+
+ experimental command setContentsSize
13+
+ parameters
14+
+ # Browser window id.
15+
+ WindowID windowId
16+
+ # The window contents width in DIP. Assumes current width if omitted.
17+
+ # Must be specified if 'height' is omitted.
18+
+ optional integer width
19+
+ # The window contents height in DIP. Assumes current height if omitted.
20+
+ # Must be specified if 'width' is omitted.
21+
+ optional integer height
22+
+
23+
# Set dock tile details, platform-specific.
24+
experimental command setDockTile
25+
parameters
26+
```
27+
328
## Roll protocol to r1483532 — _2025-07-08T04:32:14.000Z_
4-
###### Diff: [`71d5e25...74ee0a2`](https://github.com/ChromeDevTools/devtools-protocol/compare/71d5e25...74ee0a2)
29+
###### Diff: [`71d5e25...3952063`](https://github.com/ChromeDevTools/devtools-protocol/compare/71d5e25...3952063)
530

631
```diff
732
@@ browser_protocol.pdl:3386 @@ domain DOM
@@ -14059,31 +14084,4 @@ index b3b97fa..6efcf78 100644
1405914084

1406014085
# Issued when the domain is enabled with handleAuthRequests set to true.
1406114086
# The request is paused until client responds with continueWithAuth.
14062-
```
14063-
14064-
## Roll protocol to r1055599 — _2022-10-06T04:34:37.000Z_
14065-
###### Diff: [`221d16f...871805f`](https://github.com/ChromeDevTools/devtools-protocol/compare/221d16f...871805f)
14066-
14067-
```diff
14068-
@@ browser_protocol.pdl:7166 @@ domain Page
14069-
geolocation
14070-
gyroscope
14071-
hid
14072-
- identity-credential-get
14073-
+ identity-credentials-get
14074-
idle-detection
14075-
interest-cohort
14076-
join-ad-interest-group
14077-
@@ -7682,8 +7682,9 @@ domain Page
14078-
# Recommendation for manifest's id attribute to match current id computed from start_url
14079-
optional string recommendedId
14080-
14081-
- # Returns all browser cookies. Depending on the backend support, will return detailed cookie
14082-
- # information in the `cookies` field.
14083-
+ # Returns all browser cookies for the page and all of its subframes. Depending
14084-
+ # on the backend support, will return detailed cookie information in the
14085-
+ # `cookies` field.
14086-
experimental deprecated command getCookies
14087-
# Use 'Network.getCookies' instead
14088-
redirect Network
1408914087
```

json/browser_protocol.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3423,6 +3423,30 @@
34233423
}
34243424
]
34253425
},
3426+
{
3427+
"name": "setContentsSize",
3428+
"description": "Set size of the browser contents resizing browser window as necessary.",
3429+
"experimental": true,
3430+
"parameters": [
3431+
{
3432+
"name": "windowId",
3433+
"description": "Browser window id.",
3434+
"$ref": "WindowID"
3435+
},
3436+
{
3437+
"name": "width",
3438+
"description": "The window contents width in DIP. Assumes current width if omitted.\nMust be specified if 'height' is omitted.",
3439+
"optional": true,
3440+
"type": "integer"
3441+
},
3442+
{
3443+
"name": "height",
3444+
"description": "The window contents height in DIP. Assumes current height if omitted.\nMust be specified if 'width' is omitted.",
3445+
"optional": true,
3446+
"type": "integer"
3447+
}
3448+
]
3449+
},
34263450
{
34273451
"name": "setDockTile",
34283452
"description": "Set dock tile details, platform-specific.",

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

pdl/browser_protocol.pdl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,6 +1748,18 @@ domain Browser
17481748
# with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
17491749
Bounds bounds
17501750

1751+
# Set size of the browser contents resizing browser window as necessary.
1752+
experimental command setContentsSize
1753+
parameters
1754+
# Browser window id.
1755+
WindowID windowId
1756+
# The window contents width in DIP. Assumes current width if omitted.
1757+
# Must be specified if 'height' is omitted.
1758+
optional integer width
1759+
# The window contents height in DIP. Assumes current height if omitted.
1760+
# Must be specified if 'width' is omitted.
1761+
optional integer height
1762+
17511763
# Set dock tile details, platform-specific.
17521764
experimental command setDockTile
17531765
parameters

types/protocol-mapping.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,13 @@ export namespace ProtocolMapping {
18311831
paramsType: [Protocol.Browser.SetWindowBoundsRequest];
18321832
returnType: void;
18331833
};
1834+
/**
1835+
* Set size of the browser contents resizing browser window as necessary.
1836+
*/
1837+
'Browser.setContentsSize': {
1838+
paramsType: [Protocol.Browser.SetContentsSizeRequest];
1839+
returnType: void;
1840+
};
18341841
/**
18351842
* Set dock tile details, platform-specific.
18361843
*/

types/protocol-proxy-api.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,11 @@ export namespace ProtocolProxyApi {
998998
*/
999999
setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<void>;
10001000

1001+
/**
1002+
* Set size of the browser contents resizing browser window as necessary.
1003+
*/
1004+
setContentsSize(params: Protocol.Browser.SetContentsSizeRequest): Promise<void>;
1005+
10011006
/**
10021007
* Set dock tile details, platform-specific.
10031008
*/

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,11 @@ export namespace ProtocolTestsProxyApi {
10621062
*/
10631063
setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<{id: number, result: void, sessionId: string}>;
10641064

1065+
/**
1066+
* Set size of the browser contents resizing browser window as necessary.
1067+
*/
1068+
setContentsSize(params: Protocol.Browser.SetContentsSizeRequest): Promise<{id: number, result: void, sessionId: string}>;
1069+
10651070
/**
10661071
* Set dock tile details, platform-specific.
10671072
*/

types/protocol.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4521,6 +4521,23 @@ export namespace Protocol {
45214521
bounds: Bounds;
45224522
}
45234523

4524+
export interface SetContentsSizeRequest {
4525+
/**
4526+
* Browser window id.
4527+
*/
4528+
windowId: WindowID;
4529+
/**
4530+
* The window contents width in DIP. Assumes current width if omitted.
4531+
* Must be specified if 'height' is omitted.
4532+
*/
4533+
width?: integer;
4534+
/**
4535+
* The window contents height in DIP. Assumes current height if omitted.
4536+
* Must be specified if 'width' is omitted.
4537+
*/
4538+
height?: integer;
4539+
}
4540+
45244541
export interface SetDockTileRequest {
45254542
badgeLabel?: string;
45264543
/**

0 commit comments

Comments
 (0)