devtools-protocol 0.0.1001819 → 0.0.1004052

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.
@@ -15008,6 +15008,7 @@
15008
15008
  "ambient-light-sensor",
15009
15009
  "attribution-reporting",
15010
15010
  "autoplay",
15011
+ "bluetooth",
15011
15012
  "browsing-topics",
15012
15013
  "camera",
15013
15014
  "ch-dpr",
@@ -16585,7 +16586,7 @@
16585
16586
  },
16586
16587
  {
16587
16588
  "name": "loaderId",
16588
- "description": "Loader identifier.",
16589
+ "description": "Loader identifier. This is omitted in case of same-document navigation,\nas the previously committed loaderId would not change.",
16589
16590
  "optional": true,
16590
16591
  "$ref": "Network.LoaderId"
16591
16592
  },
@@ -21492,7 +21493,15 @@
21492
21493
  "commands": [
21493
21494
  {
21494
21495
  "name": "enable",
21495
- "description": "Enable the WebAuthn domain and start intercepting credential storage and\nretrieval with a virtual authenticator."
21496
+ "description": "Enable the WebAuthn domain and start intercepting credential storage and\nretrieval with a virtual authenticator.",
21497
+ "parameters": [
21498
+ {
21499
+ "name": "enableUI",
21500
+ "description": "Whether to enable the WebAuthn user interface. Enabling the UI is\nrecommended for debugging and demo purposes, as it is closer to the real\nexperience. Disabling the UI is recommended for automated testing.\nSupported at the embedder's discretion if UI is available.\nDefaults to false.",
21501
+ "optional": true,
21502
+ "type": "boolean"
21503
+ }
21504
+ ]
21496
21505
  },
21497
21506
  {
21498
21507
  "name": "disable",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1001819",
3
+ "version": "0.0.1004052",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6996,6 +6996,7 @@ domain Page
6996
6996
  ambient-light-sensor
6997
6997
  attribution-reporting
6998
6998
  autoplay
6999
+ bluetooth
6999
7000
  browsing-topics
7000
7001
  camera
7001
7002
  ch-dpr
@@ -7634,7 +7635,8 @@ domain Page
7634
7635
  returns
7635
7636
  # Frame id that has navigated (or failed to navigate)
7636
7637
  FrameId frameId
7637
- # Loader identifier.
7638
+ # Loader identifier. This is omitted in case of same-document navigation,
7639
+ # as the previously committed loaderId would not change.
7638
7640
  optional Network.LoaderId loaderId
7639
7641
  # User friendly error message, present if and only if navigation has failed.
7640
7642
  optional string errorText
@@ -10120,6 +10122,13 @@ experimental domain WebAuthn
10120
10122
  # Enable the WebAuthn domain and start intercepting credential storage and
10121
10123
  # retrieval with a virtual authenticator.
10122
10124
  command enable
10125
+ parameters
10126
+ # Whether to enable the WebAuthn user interface. Enabling the UI is
10127
+ # recommended for debugging and demo purposes, as it is closer to the real
10128
+ # experience. Disabling the UI is recommended for automated testing.
10129
+ # Supported at the embedder's discretion if UI is available.
10130
+ # Defaults to false.
10131
+ optional boolean enableUI
10123
10132
 
10124
10133
  # Disable the WebAuthn domain.
10125
10134
  command disable
@@ -4339,7 +4339,7 @@ export namespace ProtocolMapping {
4339
4339
  * retrieval with a virtual authenticator.
4340
4340
  */
4341
4341
  'WebAuthn.enable': {
4342
- paramsType: [];
4342
+ paramsType: [Protocol.WebAuthn.EnableRequest?];
4343
4343
  returnType: void;
4344
4344
  };
4345
4345
  /**
@@ -3677,7 +3677,7 @@ export namespace ProtocolProxyApi {
3677
3677
  * Enable the WebAuthn domain and start intercepting credential storage and
3678
3678
  * retrieval with a virtual authenticator.
3679
3679
  */
3680
- enable(): Promise<void>;
3680
+ enable(params: Protocol.WebAuthn.EnableRequest): Promise<void>;
3681
3681
 
3682
3682
  /**
3683
3683
  * Disable the WebAuthn domain.
@@ -12086,7 +12086,7 @@ export namespace Protocol {
12086
12086
  * All Permissions Policy features. This enum should match the one defined
12087
12087
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12088
12088
  */
12089
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-partitioned-cookies' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | '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' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
12089
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-partitioned-cookies' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | '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' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
12090
12090
 
12091
12091
  /**
12092
12092
  * Reason for a permissions policy feature to be disabled.
@@ -12907,7 +12907,8 @@ export namespace Protocol {
12907
12907
  */
12908
12908
  frameId: FrameId;
12909
12909
  /**
12910
- * Loader identifier.
12910
+ * Loader identifier. This is omitted in case of same-document navigation,
12911
+ * as the previously committed loaderId would not change.
12911
12912
  */
12912
12913
  loaderId?: Network.LoaderId;
12913
12914
  /**
@@ -15995,6 +15996,17 @@ export namespace Protocol {
15995
15996
  largeBlob?: string;
15996
15997
  }
15997
15998
 
15999
+ export interface EnableRequest {
16000
+ /**
16001
+ * Whether to enable the WebAuthn user interface. Enabling the UI is
16002
+ * recommended for debugging and demo purposes, as it is closer to the real
16003
+ * experience. Disabling the UI is recommended for automated testing.
16004
+ * Supported at the embedder's discretion if UI is available.
16005
+ * Defaults to false.
16006
+ */
16007
+ enableUI?: boolean;
16008
+ }
16009
+
15998
16010
  export interface AddVirtualAuthenticatorRequest {
15999
16011
  options: VirtualAuthenticatorOptions;
16000
16012
  }