devtools-protocol 0.0.1684464 → 0.0.1687809
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +15 -2
- package/package.json +1 -1
- package/pdl/domains/Browser.pdl +10 -0
- package/pdl/domains/Page.pdl +1 -0
- package/pdl/domains/WebAuthn.pdl +2 -2
- package/types/protocol-mapping.d.ts +10 -0
- package/types/protocol-proxy-api.d.ts +8 -0
- package/types/protocol-tests-proxy-api.d.ts +8 -0
- package/types/protocol.d.ts +12 -3
|
@@ -4036,6 +4036,18 @@
|
|
|
4036
4036
|
}
|
|
4037
4037
|
]
|
|
4038
4038
|
},
|
|
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
|
+
},
|
|
4039
4051
|
{
|
|
4040
4052
|
"name": "getHistograms",
|
|
4041
4053
|
"description": "Get Chrome histograms.",
|
|
@@ -21846,6 +21858,7 @@
|
|
|
21846
21858
|
"gamepad",
|
|
21847
21859
|
"geolocation",
|
|
21848
21860
|
"gyroscope",
|
|
21861
|
+
"haptics",
|
|
21849
21862
|
"hid",
|
|
21850
21863
|
"identity-credentials-get",
|
|
21851
21864
|
"idle-detection",
|
|
@@ -30112,7 +30125,7 @@
|
|
|
30112
30125
|
{
|
|
30113
30126
|
"name": "signCount",
|
|
30114
30127
|
"description": "Signature counter. Must be equal to or greater than -1.\nIf -1, the credential won't have an associated signature counter, and\nevery assertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
|
|
30115
|
-
"type": "
|
|
30128
|
+
"type": "number"
|
|
30116
30129
|
},
|
|
30117
30130
|
{
|
|
30118
30131
|
"name": "largeBlob",
|
|
@@ -30380,7 +30393,7 @@
|
|
|
30380
30393
|
"name": "signCount",
|
|
30381
30394
|
"description": "Must be equal to or greater than -1.\nIf -1, the signature counter is removed from the credential, and every\nassertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
|
|
30382
30395
|
"optional": true,
|
|
30383
|
-
"type": "
|
|
30396
|
+
"type": "number"
|
|
30384
30397
|
}
|
|
30385
30398
|
]
|
|
30386
30399
|
}
|
package/package.json
CHANGED
package/pdl/domains/Browser.pdl
CHANGED
|
@@ -225,6 +225,16 @@ domain Browser
|
|
|
225
225
|
# Commandline parameters
|
|
226
226
|
array of string arguments
|
|
227
227
|
|
|
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
|
+
|
|
228
238
|
# Chrome histogram bucket.
|
|
229
239
|
experimental type Bucket extends object
|
|
230
240
|
properties
|
package/pdl/domains/Page.pdl
CHANGED
package/pdl/domains/WebAuthn.pdl
CHANGED
|
@@ -106,7 +106,7 @@ experimental domain WebAuthn
|
|
|
106
106
|
# If -1, the credential won't have an associated signature counter, and
|
|
107
107
|
# every assertion operation will report a value of 0.
|
|
108
108
|
# See https://w3c.github.io/webauthn/#signature-counter
|
|
109
|
-
|
|
109
|
+
number signCount
|
|
110
110
|
# The large blob associated with the credential.
|
|
111
111
|
# See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
112
112
|
optional binary largeBlob
|
|
@@ -233,7 +233,7 @@ experimental domain WebAuthn
|
|
|
233
233
|
# If -1, the signature counter is removed from the credential, and every
|
|
234
234
|
# assertion operation will report a value of 0.
|
|
235
235
|
# See https://w3c.github.io/webauthn/#signature-counter
|
|
236
|
-
optional
|
|
236
|
+
optional number signCount
|
|
237
237
|
|
|
238
238
|
# Triggered when a credential is added to an authenticator.
|
|
239
239
|
event credentialAdded
|
|
@@ -2113,6 +2113,16 @@ export namespace ProtocolMapping {
|
|
|
2113
2113
|
paramsType: [];
|
|
2114
2114
|
returnType: Protocol.Browser.GetBrowserCommandLineResponse;
|
|
2115
2115
|
};
|
|
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
|
+
};
|
|
2116
2126
|
/**
|
|
2117
2127
|
* Get Chrome histograms.
|
|
2118
2128
|
* @experimental
|
|
@@ -1108,6 +1108,14 @@ export namespace ProtocolProxyApi {
|
|
|
1108
1108
|
*/
|
|
1109
1109
|
getBrowserCommandLine(): Promise<Protocol.Browser.GetBrowserCommandLineResponse>;
|
|
1110
1110
|
|
|
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
|
+
|
|
1111
1119
|
/**
|
|
1112
1120
|
* Get Chrome histograms.
|
|
1113
1121
|
* @experimental
|
|
@@ -1178,6 +1178,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
getBrowserCommandLine(): Promise<{id: number, result: Protocol.Browser.GetBrowserCommandLineResponse, sessionId: string}>;
|
|
1180
1180
|
|
|
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
|
+
|
|
1181
1189
|
/**
|
|
1182
1190
|
* Get Chrome histograms.
|
|
1183
1191
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -4903,6 +4903,15 @@ export namespace Protocol {
|
|
|
4903
4903
|
arguments: string[];
|
|
4904
4904
|
}
|
|
4905
4905
|
|
|
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
|
+
|
|
4906
4915
|
export interface GetHistogramsRequest {
|
|
4907
4916
|
/**
|
|
4908
4917
|
* Requested substring in name. Only histograms which have query as a
|
|
@@ -16679,7 +16688,7 @@ export namespace Protocol {
|
|
|
16679
16688
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
|
16680
16689
|
* @experimental
|
|
16681
16690
|
*/
|
|
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');
|
|
16683
16692
|
|
|
16684
16693
|
/**
|
|
16685
16694
|
* Reason for a permissions policy feature to be disabled.
|
|
@@ -21697,7 +21706,7 @@ export namespace Protocol {
|
|
|
21697
21706
|
* every assertion operation will report a value of 0.
|
|
21698
21707
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
21699
21708
|
*/
|
|
21700
|
-
signCount:
|
|
21709
|
+
signCount: number;
|
|
21701
21710
|
/**
|
|
21702
21711
|
* The large blob associated with the credential.
|
|
21703
21712
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
|
|
@@ -21836,7 +21845,7 @@ export namespace Protocol {
|
|
|
21836
21845
|
* assertion operation will report a value of 0.
|
|
21837
21846
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
21838
21847
|
*/
|
|
21839
|
-
signCount?:
|
|
21848
|
+
signCount?: number;
|
|
21840
21849
|
}
|
|
21841
21850
|
|
|
21842
21851
|
/**
|