Skip to content

Commit 495a557

Browse files
committed
Roll protocol to r1676105
1 parent 2d019e7 commit 495a557

9 files changed

Lines changed: 179 additions & 33 deletions

changelog.md

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
11

22

3+
## Roll protocol to r1676105 — _2026-08-08T04:42:45.000Z_
4+
###### Diff: [`2d019e7...a0b60c1`](https://github.com/ChromeDevTools/devtools-protocol/compare/2d019e7...a0b60c1)
5+
6+
```diff
7+
@@ domains/Page.pdl:1175 @@ domain Page
8+
# Send every n-th frame.
9+
optional integer everyNthFrame
10+
11+
+ # Starts screencast video recording.
12+
+ experimental command startScreenRecording
13+
+ parameters
14+
+ optional boolean audio
15+
+ # Maximum frame width in pixels.
16+
+ optional integer maxWidth
17+
+ # Maximum frame height in pixels.
18+
+ optional integer maxHeight
19+
+ # Maximum frame rate in frames per second.
20+
+ optional integer frameRate
21+
+ returns
22+
+ # A handle of the stream that holds resulting screencast data.
23+
+ experimental IO.StreamHandle stream
24+
+
25+
+ # Stops screencast video recording.
26+
+ experimental command stopScreenRecording
27+
+ returns
28+
+ # A handle of the stream that holds resulting screencast data.
29+
+ experimental IO.StreamHandle stream
30+
+
31+
# Force the page stop all navigations and pending resource fetches.
32+
command stopLoading
33+
```
34+
335
## Roll protocol to r1674729 — _2026-08-06T05:29:04.000Z_
4-
###### Diff: [`41535d3...aeb64bf`](https://github.com/ChromeDevTools/devtools-protocol/compare/41535d3...aeb64bf)
36+
###### Diff: [`41535d3...2d019e7`](https://github.com/ChromeDevTools/devtools-protocol/compare/41535d3...2d019e7)
537

638
```diff
739
@@ js_protocol.pdl:212 @@ domain Debugger
@@ -43143,33 +43175,4 @@ index 4754f17c..8dad9c98 100644
4314343175

4314443176
command dismissDialog
4314543177
parameters
43146-
```
43147-
43148-
## Roll protocol to r1220723 — _2023-11-07T04:26:31.000Z_
43149-
###### Diff: [`2860a80...66e9966`](https://github.com/ChromeDevTools/devtools-protocol/compare/2860a80...66e9966)
43150-
43151-
```diff
43152-
@@ browser_protocol.pdl:9931 @@ experimental domain Storage
43153-
# duration in seconds
43154-
array of integer ends
43155-
43156-
+ experimental type AttributionReportingTriggerSpec extends object
43157-
+ properties
43158-
+ # number instead of integer because not all uint32 can be represented by
43159-
+ # int
43160-
+ array of number triggerData
43161-
+ AttributionReportingEventReportWindows eventReportWindows
43162-
+
43163-
experimental type AttributionReportingTriggerDataMatching extends string
43164-
enum
43165-
exact
43166-
@@ -9941,7 +9948,7 @@ experimental domain Storage
43167-
Network.TimeSinceEpoch time
43168-
# duration in seconds
43169-
integer expiry
43170-
- AttributionReportingEventReportWindows eventReportWindows
43171-
+ array of AttributionReportingTriggerSpec triggerSpecs
43172-
# duration in seconds
43173-
integer aggregatableReportWindow
43174-
AttributionReportingSourceType type
4317543178
```

json/browser_protocol.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24400,6 +24400,57 @@
2440024400
}
2440124401
]
2440224402
},
24403+
{
24404+
"name": "startScreenRecording",
24405+
"description": "Starts screencast video recording.",
24406+
"experimental": true,
24407+
"parameters": [
24408+
{
24409+
"name": "audio",
24410+
"optional": true,
24411+
"type": "boolean"
24412+
},
24413+
{
24414+
"name": "maxWidth",
24415+
"description": "Maximum frame width in pixels.",
24416+
"optional": true,
24417+
"type": "integer"
24418+
},
24419+
{
24420+
"name": "maxHeight",
24421+
"description": "Maximum frame height in pixels.",
24422+
"optional": true,
24423+
"type": "integer"
24424+
},
24425+
{
24426+
"name": "frameRate",
24427+
"description": "Maximum frame rate in frames per second.",
24428+
"optional": true,
24429+
"type": "integer"
24430+
}
24431+
],
24432+
"returns": [
24433+
{
24434+
"name": "stream",
24435+
"description": "A handle of the stream that holds resulting screencast data.",
24436+
"experimental": true,
24437+
"$ref": "IO.StreamHandle"
24438+
}
24439+
]
24440+
},
24441+
{
24442+
"name": "stopScreenRecording",
24443+
"description": "Stops screencast video recording.",
24444+
"experimental": true,
24445+
"returns": [
24446+
{
24447+
"name": "stream",
24448+
"description": "A handle of the stream that holds resulting screencast data.",
24449+
"experimental": true,
24450+
"$ref": "IO.StreamHandle"
24451+
}
24452+
]
24453+
},
2440324454
{
2440424455
"name": "stopLoading",
2440524456
"description": "Force the page stop all navigations and pending resource fetches."

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

pdl/domains/Page.pdl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,26 @@ domain Page
11751175
# Send every n-th frame.
11761176
optional integer everyNthFrame
11771177

1178+
# Starts screencast video recording.
1179+
experimental command startScreenRecording
1180+
parameters
1181+
optional boolean audio
1182+
# Maximum frame width in pixels.
1183+
optional integer maxWidth
1184+
# Maximum frame height in pixels.
1185+
optional integer maxHeight
1186+
# Maximum frame rate in frames per second.
1187+
optional integer frameRate
1188+
returns
1189+
# A handle of the stream that holds resulting screencast data.
1190+
experimental IO.StreamHandle stream
1191+
1192+
# Stops screencast video recording.
1193+
experimental command stopScreenRecording
1194+
returns
1195+
# A handle of the stream that holds resulting screencast data.
1196+
experimental IO.StreamHandle stream
1197+
11781198
# Force the page stop all navigations and pending resource fetches.
11791199
command stopLoading
11801200

types/protocol-mapping.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5203,6 +5203,22 @@ export namespace ProtocolMapping {
52035203
paramsType: [Protocol.Page.StartScreencastRequest?];
52045204
returnType: void;
52055205
};
5206+
/**
5207+
* Starts screencast video recording.
5208+
* @experimental
5209+
*/
5210+
'Page.startScreenRecording': {
5211+
paramsType: [Protocol.Page.StartScreenRecordingRequest?];
5212+
returnType: Protocol.Page.StartScreenRecordingResponse;
5213+
};
5214+
/**
5215+
* Stops screencast video recording.
5216+
* @experimental
5217+
*/
5218+
'Page.stopScreenRecording': {
5219+
paramsType: [];
5220+
returnType: Protocol.Page.StopScreenRecordingResponse;
5221+
};
52065222
/**
52075223
* Force the page stop all navigations and pending resource fetches.
52085224
*/

types/protocol-proxy-api.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4057,6 +4057,18 @@ export namespace ProtocolProxyApi {
40574057
*/
40584058
startScreencast(params: Protocol.Page.StartScreencastRequest): Promise<void>;
40594059

4060+
/**
4061+
* Starts screencast video recording.
4062+
* @experimental
4063+
*/
4064+
startScreenRecording(params: Protocol.Page.StartScreenRecordingRequest): Promise<Protocol.Page.StartScreenRecordingResponse>;
4065+
4066+
/**
4067+
* Stops screencast video recording.
4068+
* @experimental
4069+
*/
4070+
stopScreenRecording(): Promise<Protocol.Page.StopScreenRecordingResponse>;
4071+
40604072
/**
40614073
* Force the page stop all navigations and pending resource fetches.
40624074
*/

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4331,6 +4331,18 @@ export namespace ProtocolTestsProxyApi {
43314331
*/
43324332
startScreencast(params: Protocol.Page.StartScreencastRequest): Promise<{id: number, result: void, sessionId: string}>;
43334333

4334+
/**
4335+
* Starts screencast video recording.
4336+
* @experimental
4337+
*/
4338+
startScreenRecording(params: Protocol.Page.StartScreenRecordingRequest): Promise<{id: number, result: Protocol.Page.StartScreenRecordingResponse, sessionId: string}>;
4339+
4340+
/**
4341+
* Stops screencast video recording.
4342+
* @experimental
4343+
*/
4344+
stopScreenRecording(): Promise<{id: number, result: Protocol.Page.StopScreenRecordingResponse, sessionId: string}>;
4345+
43344346
/**
43354347
* Force the page stop all navigations and pending resource fetches.
43364348
*/

types/protocol.d.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18166,6 +18166,38 @@ export namespace Protocol {
1816618166
everyNthFrame?: integer;
1816718167
}
1816818168

18169+
export interface StartScreenRecordingRequest {
18170+
audio?: boolean;
18171+
/**
18172+
* Maximum frame width in pixels.
18173+
*/
18174+
maxWidth?: integer;
18175+
/**
18176+
* Maximum frame height in pixels.
18177+
*/
18178+
maxHeight?: integer;
18179+
/**
18180+
* Maximum frame rate in frames per second.
18181+
*/
18182+
frameRate?: integer;
18183+
}
18184+
18185+
export interface StartScreenRecordingResponse {
18186+
/**
18187+
* A handle of the stream that holds resulting screencast data.
18188+
* @experimental
18189+
*/
18190+
stream: IO.StreamHandle;
18191+
}
18192+
18193+
export interface StopScreenRecordingResponse {
18194+
/**
18195+
* A handle of the stream that holds resulting screencast data.
18196+
* @experimental
18197+
*/
18198+
stream: IO.StreamHandle;
18199+
}
18200+
1816918201
export const enum SetWebLifecycleStateRequestState {
1817018202
Frozen = 'frozen',
1817118203
Active = 'active',

0 commit comments

Comments
 (0)