Skip to content

Commit 2ecbfaf

Browse files
committed
Roll protocol to r1406504
1 parent 713993e commit 2ecbfaf

File tree

5 files changed

+72
-2
lines changed

5 files changed

+72
-2
lines changed

changelog.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,38 @@
11

22

3+
## Roll protocol to r1406504 — _2025-01-15T04:28:35.000Z_
4+
###### Diff: [`713993e...e45a917`](https://github.com/ChromeDevTools/devtools-protocol/compare/713993e...e45a917)
5+
6+
```diff
7+
@@ browser_protocol.pdl:11174 @@ domain Target
8+
string host
9+
integer port
10+
11+
+ # The state of the target window.
12+
+ experimental type WindowState extends string
13+
+ enum
14+
+ normal
15+
+ minimized
16+
+ maximized
17+
+ fullscreen
18+
+
19+
# Activates (focuses) the target.
20+
command activateTarget
21+
parameters
22+
@@ -11255,6 +11263,9 @@ domain Target
23+
optional integer width
24+
# Frame height in DIP (requires newWindow to be true or headless shell).
25+
optional integer height
26+
+ # Frame window state (requires newWindow to be true or headless shell).
27+
+ # Default is normal.
28+
+ optional WindowState windowState
29+
# The browser context to create the page in.
30+
experimental optional Browser.BrowserContextID browserContextId
31+
# Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
32+
```
33+
334
## Roll protocol to r1404580 — _2025-01-10T04:29:07.000Z_
4-
###### Diff: [`e2b4f4f...7e9acf8`](https://github.com/ChromeDevTools/devtools-protocol/compare/e2b4f4f...7e9acf8)
35+
###### Diff: [`e2b4f4f...713993e`](https://github.com/ChromeDevTools/devtools-protocol/compare/e2b4f4f...713993e)
536

637
```diff
738
@@ browser_protocol.pdl:949 @@ experimental domain Audits

json/browser_protocol.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23771,6 +23771,18 @@
2377123771
"type": "integer"
2377223772
}
2377323773
]
23774+
},
23775+
{
23776+
"id": "WindowState",
23777+
"description": "The state of the target window.",
23778+
"experimental": true,
23779+
"type": "string",
23780+
"enum": [
23781+
"normal",
23782+
"minimized",
23783+
"maximized",
23784+
"fullscreen"
23785+
]
2377423786
}
2377523787
],
2377623788
"commands": [
@@ -23947,6 +23959,12 @@
2394723959
"optional": true,
2394823960
"type": "integer"
2394923961
},
23962+
{
23963+
"name": "windowState",
23964+
"description": "Frame window state (requires newWindow to be true or headless shell).\nDefault is normal.",
23965+
"optional": true,
23966+
"$ref": "WindowState"
23967+
},
2395023968
{
2395123969
"name": "browserContextId",
2395223970
"description": "The browser context to create the page in.",

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.1404580",
3+
"version": "0.0.1406504",
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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11174,6 +11174,14 @@ domain Target
1117411174
string host
1117511175
integer port
1117611176

11177+
# The state of the target window.
11178+
experimental type WindowState extends string
11179+
enum
11180+
normal
11181+
minimized
11182+
maximized
11183+
fullscreen
11184+
1117711185
# Activates (focuses) the target.
1117811186
command activateTarget
1117911187
parameters
@@ -11255,6 +11263,9 @@ domain Target
1125511263
optional integer width
1125611264
# Frame height in DIP (requires newWindow to be true or headless shell).
1125711265
optional integer height
11266+
# Frame window state (requires newWindow to be true or headless shell).
11267+
# Default is normal.
11268+
optional WindowState windowState
1125811269
# The browser context to create the page in.
1125911270
experimental optional Browser.BrowserContextID browserContextId
1126011271
# Whether BeginFrames for this target will be controlled via DevTools (headless shell only,

types/protocol.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17101,6 +17101,11 @@ export namespace Protocol {
1710117101
port: integer;
1710217102
}
1710317103

17104+
/**
17105+
* The state of the target window.
17106+
*/
17107+
export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
17108+
1710417109
export interface ActivateTargetRequest {
1710517110
targetId: TargetID;
1710617111
}
@@ -17203,6 +17208,11 @@ export namespace Protocol {
1720317208
* Frame height in DIP (requires newWindow to be true or headless shell).
1720417209
*/
1720517210
height?: integer;
17211+
/**
17212+
* Frame window state (requires newWindow to be true or headless shell).
17213+
* Default is normal.
17214+
*/
17215+
windowState?: WindowState;
1720617216
/**
1720717217
* The browser context to create the page in.
1720817218
*/

0 commit comments

Comments
 (0)