devtools-protocol 0.0.1422344 → 0.0.1423531

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.
@@ -19228,7 +19228,16 @@
19228
19228
  },
19229
19229
  {
19230
19230
  "name": "enable",
19231
- "description": "Enables page domain notifications."
19231
+ "description": "Enables page domain notifications.",
19232
+ "parameters": [
19233
+ {
19234
+ "name": "enableFileChooserOpenedEvent",
19235
+ "description": "If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by\n`Page.setInterceptFileChooserDialog` command (default: false).",
19236
+ "experimental": true,
19237
+ "optional": true,
19238
+ "type": "boolean"
19239
+ }
19240
+ ]
19232
19241
  },
19233
19242
  {
19234
19243
  "name": "getAppManifest",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1422344",
3
+ "version": "0.0.1423531",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -8811,6 +8811,10 @@ domain Page
8811
8811
 
8812
8812
  # Enables page domain notifications.
8813
8813
  command enable
8814
+ parameters
8815
+ # If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
8816
+ # `Page.setInterceptFileChooserDialog` command (default: false).
8817
+ experimental optional boolean enableFileChooserOpenedEvent
8814
8818
 
8815
8819
  # The manifest of a webapp, see
8816
8820
  # https://www.w3.org/TR/appmanifest/#dfn-manifest.
@@ -3889,7 +3889,7 @@ export namespace ProtocolMapping {
3889
3889
  * Enables page domain notifications.
3890
3890
  */
3891
3891
  'Page.enable': {
3892
- paramsType: [];
3892
+ paramsType: [Protocol.Page.EnableRequest?];
3893
3893
  returnType: void;
3894
3894
  };
3895
3895
  /**
@@ -2970,7 +2970,7 @@ export namespace ProtocolProxyApi {
2970
2970
  /**
2971
2971
  * Enables page domain notifications.
2972
2972
  */
2973
- enable(): Promise<void>;
2973
+ enable(params: Protocol.Page.EnableRequest): Promise<void>;
2974
2974
 
2975
2975
  /**
2976
2976
  * Gets the processed manifest for this current document.
@@ -3182,7 +3182,7 @@ export namespace ProtocolTestsProxyApi {
3182
3182
  /**
3183
3183
  * Enables page domain notifications.
3184
3184
  */
3185
- enable(): Promise<{id: number, result: void, sessionId: string}>;
3185
+ enable(params: Protocol.Page.EnableRequest): Promise<{id: number, result: void, sessionId: string}>;
3186
3186
 
3187
3187
  /**
3188
3188
  * Gets the processed manifest for this current document.
@@ -14467,6 +14467,14 @@ export namespace Protocol {
14467
14467
  url: string;
14468
14468
  }
14469
14469
 
14470
+ export interface EnableRequest {
14471
+ /**
14472
+ * If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
14473
+ * `Page.setInterceptFileChooserDialog` command (default: false).
14474
+ */
14475
+ enableFileChooserOpenedEvent?: boolean;
14476
+ }
14477
+
14470
14478
  export interface GetAppManifestRequest {
14471
14479
  manifestId?: string;
14472
14480
  }