devtools-protocol 0.0.1755318 → 0.0.1756183

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.
@@ -4117,12 +4117,12 @@
4117
4117
  },
4118
4118
  {
4119
4119
  "name": "addMockCamera",
4120
- "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.",
4120
+ "description": "Adds 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.\nReturns success after the video capture service confirms registration.\nDoes not wait for device-list updates or devicechange events in pages.\nRegistration failures are reported as errors.",
4121
4121
  "experimental": true,
4122
4122
  "parameters": [
4123
4123
  {
4124
4124
  "name": "deviceId",
4125
- "description": "Required non-empty identifier for the mock camera within the current\nDevTools session. Different sessions can use the same identifier\nwithout replacing each other's cameras. This is not the\nMediaDeviceInfo.deviceId exposed to the page.",
4125
+ "description": "Required non-empty identifier for the mock camera within the current\nDevTools session. Different sessions can use the same identifier\nwithout replacing each other's cameras. This is not the\nMediaDeviceInfo.deviceId exposed to the page.\nAn identifier that is already registered or being registered in this\nsession is rejected. The existing camera or registration attempt is\nleft unchanged, including any active streams.",
4126
4126
  "type": "string"
4127
4127
  }
4128
4128
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1755318",
3
+ "version": "0.0.1756183",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -224,15 +224,21 @@ domain Browser
224
224
  # Commandline parameters
225
225
  array of string arguments
226
226
 
227
- # Adds or updates a mock camera in the shared video capture device list for
227
+ # Adds a mock camera in the shared video capture device list for
228
228
  # test automation. The mock camera is not scoped to a particular page or
229
229
  # frame and is removed when the DevTools session that created it disconnects.
230
+ # Returns success after the video capture service confirms registration.
231
+ # Does not wait for device-list updates or devicechange events in pages.
232
+ # Registration failures are reported as errors.
230
233
  experimental command addMockCamera
231
234
  parameters
232
235
  # Required non-empty identifier for the mock camera within the current
233
236
  # DevTools session. Different sessions can use the same identifier
234
237
  # without replacing each other's cameras. This is not the
235
238
  # MediaDeviceInfo.deviceId exposed to the page.
239
+ # An identifier that is already registered or being registered in this
240
+ # session is rejected. The existing camera or registration attempt is
241
+ # left unchanged, including any active streams.
236
242
  string deviceId
237
243
 
238
244
  # Chrome histogram bucket.
@@ -2139,9 +2139,12 @@ export namespace ProtocolMapping {
2139
2139
  returnType: Protocol.Browser.GetBrowserCommandLineResponse;
2140
2140
  };
2141
2141
  /**
2142
- * Adds or updates a mock camera in the shared video capture device list for
2142
+ * Adds a mock camera in the shared video capture device list for
2143
2143
  * test automation. The mock camera is not scoped to a particular page or
2144
2144
  * frame and is removed when the DevTools session that created it disconnects.
2145
+ * Returns success after the video capture service confirms registration.
2146
+ * Does not wait for device-list updates or devicechange events in pages.
2147
+ * Registration failures are reported as errors.
2145
2148
  * @experimental
2146
2149
  */
2147
2150
  'Browser.addMockCamera': {
@@ -1127,9 +1127,12 @@ export namespace ProtocolProxyApi {
1127
1127
  getBrowserCommandLine(): Promise<Protocol.Browser.GetBrowserCommandLineResponse>;
1128
1128
 
1129
1129
  /**
1130
- * Adds or updates a mock camera in the shared video capture device list for
1130
+ * Adds a mock camera in the shared video capture device list for
1131
1131
  * test automation. The mock camera is not scoped to a particular page or
1132
1132
  * frame and is removed when the DevTools session that created it disconnects.
1133
+ * Returns success after the video capture service confirms registration.
1134
+ * Does not wait for device-list updates or devicechange events in pages.
1135
+ * Registration failures are reported as errors.
1133
1136
  * @experimental
1134
1137
  */
1135
1138
  addMockCamera(params: Protocol.Browser.AddMockCameraRequest): Promise<void>;
@@ -1197,9 +1197,12 @@ export namespace ProtocolTestsProxyApi {
1197
1197
  getBrowserCommandLine(): Promise<{id: number, result: Protocol.Browser.GetBrowserCommandLineResponse, sessionId: string}>;
1198
1198
 
1199
1199
  /**
1200
- * Adds or updates a mock camera in the shared video capture device list for
1200
+ * Adds a mock camera in the shared video capture device list for
1201
1201
  * test automation. The mock camera is not scoped to a particular page or
1202
1202
  * frame and is removed when the DevTools session that created it disconnects.
1203
+ * Returns success after the video capture service confirms registration.
1204
+ * Does not wait for device-list updates or devicechange events in pages.
1205
+ * Registration failures are reported as errors.
1203
1206
  * @experimental
1204
1207
  */
1205
1208
  addMockCamera(params: Protocol.Browser.AddMockCameraRequest): Promise<{id: number, result: void, sessionId: string}>;
@@ -4986,6 +4986,9 @@ export namespace Protocol {
4986
4986
  * DevTools session. Different sessions can use the same identifier
4987
4987
  * without replacing each other's cameras. This is not the
4988
4988
  * MediaDeviceInfo.deviceId exposed to the page.
4989
+ * An identifier that is already registered or being registered in this
4990
+ * session is rejected. The existing camera or registration attempt is
4991
+ * left unchanged, including any active streams.
4989
4992
  */
4990
4993
  deviceId: string;
4991
4994
  }