Skip to content

Commit 0fb57f9

Browse files
committed
Roll protocol to r1686980
1 parent 5ee78b3 commit 0fb57f9

10 files changed

Lines changed: 99 additions & 35 deletions

changelog.md

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,42 @@
11

22

3+
## Roll protocol to r1686980 — _2026-08-27T06:39:03.000Z_
4+
###### Diff: [`5ee78b3...4903d2f`](https://github.com/ChromeDevTools/devtools-protocol/compare/5ee78b3...4903d2f)
5+
6+
```diff
7+
@@ domains/Browser.pdl:225 @@ domain Browser
8+
# Commandline parameters
9+
array of string arguments
10+
11+
+ # Adds or updates a mock camera in the shared video capture device list for
12+
+ # test automation. The mock camera is not scoped to a particular page or
13+
+ # frame and is removed when the DevTools session that created it disconnects.
14+
+ experimental command addMockCamera
15+
+ parameters
16+
+ # Required non-empty identifier for the mock camera. This is mapped to an
17+
+ # internal virtual-device identifier and is not the MediaDeviceInfo.deviceId
18+
+ # exposed to the page.
19+
+ string deviceId
20+
+
21+
# Chrome histogram bucket.
22+
experimental type Bucket extends object
23+
properties
24+
diff --git a/pdl/domains/Page.pdl b/pdl/domains/Page.pdl
25+
index 0961300c..a2d197c5 100644
26+
--- a/pdl/domains/Page.pdl
27+
+++ b/pdl/domains/Page.pdl
28+
@@ -127,6 +127,7 @@ domain Page
29+
gamepad
30+
geolocation
31+
gyroscope
32+
+ haptics
33+
hid
34+
identity-credentials-get
35+
idle-detection
36+
```
37+
338
## Roll protocol to r1684464 — _2026-08-22T04:37:33.000Z_
4-
###### Diff: [`a12defa...ee6fd2a`](https://github.com/ChromeDevTools/devtools-protocol/compare/a12defa...ee6fd2a)
39+
###### Diff: [`a12defa...5ee78b3`](https://github.com/ChromeDevTools/devtools-protocol/compare/a12defa...5ee78b3)
540

641
```diff
742
@@ domains/ServiceWorker.pdl:32 @@ experimental domain ServiceWorker
@@ -43572,34 +43607,4 @@ index 4754f17c..8dad9c98 100644
4357243607
Stylesheet
4357343608
Track
4357443609
Video
43575-
```
43576-
43577-
## Roll protocol to r1232444 — _2023-12-03T04:26:26.000Z_
43578-
###### Diff: [`c137c7c...c098eb8`](https://github.com/ChromeDevTools/devtools-protocol/compare/c137c7c...c098eb8)
43579-
43580-
```diff
43581-
@@ browser_protocol.pdl:3916 @@ domain Emulation
43582-
# A display feature that only splits content will have a 0 mask_length.
43583-
integer maskLength
43584-
43585-
+ type DevicePosture extends object
43586-
+ properties
43587-
+ # Current posture of the device
43588-
+ enum type
43589-
+ continuous
43590-
+ folded
43591-
+
43592-
type MediaFeature extends object
43593-
properties
43594-
string name
43595-
@@ -4073,6 +4080,9 @@ domain Emulation
43596-
# If set, the display feature of a multi-segment screen. If not set, multi-segment support
43597-
# is turned-off.
43598-
experimental optional DisplayFeature displayFeature
43599-
+ # If set, the posture of a foldable device. If not set the posture is set
43600-
+ # to continuous.
43601-
+ experimental optional DevicePosture devicePosture
43602-
43603-
experimental command setScrollbarsHidden
43604-
parameters
4360543610
```

json/browser_protocol.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4036,6 +4036,18 @@
40364036
}
40374037
]
40384038
},
4039+
{
4040+
"name": "addMockCamera",
4041+
"description": "Adds or updates a mock camera in the shared video capture device list for\ntest automation. The mock camera is not scoped to a particular page or\nframe and is removed when the DevTools session that created it disconnects.",
4042+
"experimental": true,
4043+
"parameters": [
4044+
{
4045+
"name": "deviceId",
4046+
"description": "Required non-empty identifier for the mock camera. This is mapped to an\ninternal virtual-device identifier and is not the MediaDeviceInfo.deviceId\nexposed to the page.",
4047+
"type": "string"
4048+
}
4049+
]
4050+
},
40394051
{
40404052
"name": "getHistograms",
40414053
"description": "Get Chrome histograms.",
@@ -21846,6 +21858,7 @@
2184621858
"gamepad",
2184721859
"geolocation",
2184821860
"gyroscope",
21861+
"haptics",
2184921862
"hid",
2185021863
"identity-credentials-get",
2185121864
"idle-detection",

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.1684464",
3+
"version": "0.0.1686980",
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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,16 @@ domain Browser
225225
# Commandline parameters
226226
array of string arguments
227227

228+
# Adds or updates a mock camera in the shared video capture device list for
229+
# test automation. The mock camera is not scoped to a particular page or
230+
# frame and is removed when the DevTools session that created it disconnects.
231+
experimental command addMockCamera
232+
parameters
233+
# Required non-empty identifier for the mock camera. This is mapped to an
234+
# internal virtual-device identifier and is not the MediaDeviceInfo.deviceId
235+
# exposed to the page.
236+
string deviceId
237+
228238
# Chrome histogram bucket.
229239
experimental type Bucket extends object
230240
properties

pdl/domains/Page.pdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ domain Page
127127
gamepad
128128
geolocation
129129
gyroscope
130+
haptics
130131
hid
131132
identity-credentials-get
132133
idle-detection

types/protocol-mapping.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,6 +2113,16 @@ export namespace ProtocolMapping {
21132113
paramsType: [];
21142114
returnType: Protocol.Browser.GetBrowserCommandLineResponse;
21152115
};
2116+
/**
2117+
* Adds or updates a mock camera in the shared video capture device list for
2118+
* test automation. The mock camera is not scoped to a particular page or
2119+
* frame and is removed when the DevTools session that created it disconnects.
2120+
* @experimental
2121+
*/
2122+
'Browser.addMockCamera': {
2123+
paramsType: [Protocol.Browser.AddMockCameraRequest];
2124+
returnType: void;
2125+
};
21162126
/**
21172127
* Get Chrome histograms.
21182128
* @experimental

types/protocol-proxy-api.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,14 @@ export namespace ProtocolProxyApi {
11081108
*/
11091109
getBrowserCommandLine(): Promise<Protocol.Browser.GetBrowserCommandLineResponse>;
11101110

1111+
/**
1112+
* Adds or updates a mock camera in the shared video capture device list for
1113+
* test automation. The mock camera is not scoped to a particular page or
1114+
* frame and is removed when the DevTools session that created it disconnects.
1115+
* @experimental
1116+
*/
1117+
addMockCamera(params: Protocol.Browser.AddMockCameraRequest): Promise<void>;
1118+
11111119
/**
11121120
* Get Chrome histograms.
11131121
* @experimental

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,14 @@ export namespace ProtocolTestsProxyApi {
11781178
*/
11791179
getBrowserCommandLine(): Promise<{id: number, result: Protocol.Browser.GetBrowserCommandLineResponse, sessionId: string}>;
11801180

1181+
/**
1182+
* Adds or updates a mock camera in the shared video capture device list for
1183+
* test automation. The mock camera is not scoped to a particular page or
1184+
* frame and is removed when the DevTools session that created it disconnects.
1185+
* @experimental
1186+
*/
1187+
addMockCamera(params: Protocol.Browser.AddMockCameraRequest): Promise<{id: number, result: void, sessionId: string}>;
1188+
11811189
/**
11821190
* Get Chrome histograms.
11831191
* @experimental

types/protocol.d.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4903,6 +4903,15 @@ export namespace Protocol {
49034903
arguments: string[];
49044904
}
49054905

4906+
export interface AddMockCameraRequest {
4907+
/**
4908+
* Required non-empty identifier for the mock camera. This is mapped to an
4909+
* internal virtual-device identifier and is not the MediaDeviceInfo.deviceId
4910+
* exposed to the page.
4911+
*/
4912+
deviceId: string;
4913+
}
4914+
49064915
export interface GetHistogramsRequest {
49074916
/**
49084917
* Requested substring in name. Only histograms which have query as a
@@ -16679,7 +16688,7 @@ export namespace Protocol {
1667916688
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
1668016689
* @experimental
1668116690
*/
16682-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16691+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
1668316692

1668416693
/**
1668516694
* Reason for a permissions policy feature to be disabled.

0 commit comments

Comments
 (0)