devtools-protocol 0.0.1422344 → 0.0.1425554

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.
@@ -17451,7 +17451,7 @@
17451
17451
  },
17452
17452
  {
17453
17453
  "id": "PermissionsPolicyFeature",
17454
- "description": "All Permissions Policy features. This enum should match the one defined\nin third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.",
17454
+ "description": "All Permissions Policy features. This enum should match the one defined\nin services/network/public/cpp/permissions_policy/permissions_policy_features.json5.",
17455
17455
  "experimental": true,
17456
17456
  "type": "string",
17457
17457
  "enum": [
@@ -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.1425554",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -8235,7 +8235,7 @@ domain Page
8235
8235
  PerformanceProfile
8236
8236
 
8237
8237
  # All Permissions Policy features. This enum should match the one defined
8238
- # in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
8238
+ # in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
8239
8239
  experimental type PermissionsPolicyFeature extends string
8240
8240
  enum
8241
8241
  accelerometer
@@ -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.
@@ -13626,7 +13626,7 @@ export namespace Protocol {
13626
13626
 
13627
13627
  /**
13628
13628
  * All Permissions Policy features. This enum should match the one defined
13629
- * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
13629
+ * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
13630
13630
  */
13631
13631
  export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | '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' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
13632
13632
 
@@ -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
  }