File tree Expand file tree Collapse file tree 5 files changed +72
-2
lines changed
Expand file tree Collapse file tree 5 files changed +72
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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": [
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.",
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments