devtools-protocol 0.0.1227788 → 0.0.1231733

Sign up to get free protection for your applications and to get access to all the features.
@@ -16322,6 +16322,7 @@
16322
16322
  "sync-xhr",
16323
16323
  "unload",
16324
16324
  "usb",
16325
+ "usb-unrestricted",
16325
16326
  "vertical-scroll",
16326
16327
  "web-printing",
16327
16328
  "web-share",
@@ -23616,6 +23617,18 @@
23616
23617
  "description": "Sets whether User Verification succeeds or fails for an authenticator.\nDefaults to false.",
23617
23618
  "optional": true,
23618
23619
  "type": "boolean"
23620
+ },
23621
+ {
23622
+ "name": "defaultBackupEligibility",
23623
+ "description": "Credentials created by this authenticator will have the backup\neligibility (BE) flag set to this value. Defaults to false.\nhttps://w3c.github.io/webauthn/#sctn-credential-backup",
23624
+ "optional": true,
23625
+ "type": "boolean"
23626
+ },
23627
+ {
23628
+ "name": "defaultBackupState",
23629
+ "description": "Credentials created by this authenticator will have the backup state\n(BS) flag set to this value. Defaults to false.\nhttps://w3c.github.io/webauthn/#sctn-credential-backup",
23630
+ "optional": true,
23631
+ "type": "boolean"
23619
23632
  }
23620
23633
  ]
23621
23634
  },
@@ -24604,7 +24617,8 @@
24604
24617
  "enum": [
24605
24618
  "AccountChooser",
24606
24619
  "AutoReauthn",
24607
- "ConfirmIdpLogin"
24620
+ "ConfirmIdpLogin",
24621
+ "Error"
24608
24622
  ]
24609
24623
  },
24610
24624
  {
@@ -24612,7 +24626,9 @@
24612
24626
  "description": "The buttons on the FedCM dialog.",
24613
24627
  "type": "string",
24614
24628
  "enum": [
24615
- "ConfirmIdpLoginContinue"
24629
+ "ConfirmIdpLoginContinue",
24630
+ "ErrorGotIt",
24631
+ "ErrorMoreDetails"
24616
24632
  ]
24617
24633
  },
24618
24634
  {
@@ -24696,6 +24712,16 @@
24696
24712
  "type": "string"
24697
24713
  }
24698
24714
  ]
24715
+ },
24716
+ {
24717
+ "name": "dialogClosed",
24718
+ "description": "Triggered when a dialog is closed, either by user action, JS abort,\nor a command below.",
24719
+ "parameters": [
24720
+ {
24721
+ "name": "dialogId",
24722
+ "type": "string"
24723
+ }
24724
+ ]
24699
24725
  }
24700
24726
  ],
24701
24727
  "commands": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1227788",
3
+ "version": "0.0.1231733",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7651,6 +7651,7 @@ domain Page
7651
7651
  sync-xhr
7652
7652
  unload
7653
7653
  usb
7654
+ usb-unrestricted
7654
7655
  vertical-scroll
7655
7656
  web-printing
7656
7657
  web-share
@@ -11102,6 +11103,14 @@ experimental domain WebAuthn
11102
11103
  # Sets whether User Verification succeeds or fails for an authenticator.
11103
11104
  # Defaults to false.
11104
11105
  optional boolean isUserVerified
11106
+ # Credentials created by this authenticator will have the backup
11107
+ # eligibility (BE) flag set to this value. Defaults to false.
11108
+ # https://w3c.github.io/webauthn/#sctn-credential-backup
11109
+ optional boolean defaultBackupEligibility
11110
+ # Credentials created by this authenticator will have the backup state
11111
+ # (BS) flag set to this value. Defaults to false.
11112
+ # https://w3c.github.io/webauthn/#sctn-credential-backup
11113
+ optional boolean defaultBackupState
11105
11114
 
11106
11115
  type Credential extends object
11107
11116
  properties
@@ -11636,11 +11645,14 @@ experimental domain FedCm
11636
11645
  AccountChooser
11637
11646
  AutoReauthn
11638
11647
  ConfirmIdpLogin
11648
+ Error
11639
11649
 
11640
11650
  # The buttons on the FedCM dialog.
11641
11651
  type DialogButton extends string
11642
11652
  enum
11643
11653
  ConfirmIdpLoginContinue
11654
+ ErrorGotIt
11655
+ ErrorMoreDetails
11644
11656
 
11645
11657
  # Corresponds to IdentityRequestAccount
11646
11658
  type Account extends object
@@ -11667,6 +11679,12 @@ experimental domain FedCm
11667
11679
  string title
11668
11680
  optional string subtitle
11669
11681
 
11682
+ # Triggered when a dialog is closed, either by user action, JS abort,
11683
+ # or a command below.
11684
+ event dialogClosed
11685
+ parameters
11686
+ string dialogId
11687
+
11670
11688
  command enable
11671
11689
  parameters
11672
11690
  # Allows callers to disable the promise rejection delay that would
@@ -743,6 +743,11 @@ export namespace ProtocolMapping {
743
743
  */
744
744
  'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
745
745
  'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
746
+ /**
747
+ * Triggered when a dialog is closed, either by user action, JS abort,
748
+ * or a command below.
749
+ */
750
+ 'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
746
751
  }
747
752
 
748
753
  export interface Commands {
@@ -4116,6 +4116,12 @@ export namespace ProtocolProxyApi {
4116
4116
 
4117
4117
  on(event: 'dialogShown', listener: (params: Protocol.FedCm.DialogShownEvent) => void): void;
4118
4118
 
4119
+ /**
4120
+ * Triggered when a dialog is closed, either by user action, JS abort,
4121
+ * or a command below.
4122
+ */
4123
+ on(event: 'dialogClosed', listener: (params: Protocol.FedCm.DialogClosedEvent) => void): void;
4124
+
4119
4125
  }
4120
4126
  }
4121
4127
 
@@ -12899,7 +12899,7 @@ export namespace Protocol {
12899
12899
  * All Permissions Policy features. This enum should match the one defined
12900
12900
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12901
12901
  */
12902
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | '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-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | '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' | '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' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12902
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | '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-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | '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' | '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' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12903
12903
 
12904
12904
  /**
12905
12905
  * Reason for a permissions policy feature to be disabled.
@@ -17270,6 +17270,18 @@ export namespace Protocol {
17270
17270
  * Defaults to false.
17271
17271
  */
17272
17272
  isUserVerified?: boolean;
17273
+ /**
17274
+ * Credentials created by this authenticator will have the backup
17275
+ * eligibility (BE) flag set to this value. Defaults to false.
17276
+ * https://w3c.github.io/webauthn/#sctn-credential-backup
17277
+ */
17278
+ defaultBackupEligibility?: boolean;
17279
+ /**
17280
+ * Credentials created by this authenticator will have the backup state
17281
+ * (BS) flag set to this value. Defaults to false.
17282
+ * https://w3c.github.io/webauthn/#sctn-credential-backup
17283
+ */
17284
+ defaultBackupState?: boolean;
17273
17285
  }
17274
17286
 
17275
17287
  export interface Credential {
@@ -17773,12 +17785,12 @@ export namespace Protocol {
17773
17785
  /**
17774
17786
  * The types of FedCM dialogs.
17775
17787
  */
17776
- export type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpLogin');
17788
+ export type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpLogin' | 'Error');
17777
17789
 
17778
17790
  /**
17779
17791
  * The buttons on the FedCM dialog.
17780
17792
  */
17781
- export type DialogButton = ('ConfirmIdpLoginContinue');
17793
+ export type DialogButton = ('ConfirmIdpLoginContinue' | 'ErrorGotIt' | 'ErrorMoreDetails');
17782
17794
 
17783
17795
  /**
17784
17796
  * Corresponds to IdentityRequestAccount
@@ -17834,6 +17846,14 @@ export namespace Protocol {
17834
17846
  title: string;
17835
17847
  subtitle?: string;
17836
17848
  }
17849
+
17850
+ /**
17851
+ * Triggered when a dialog is closed, either by user action, JS abort,
17852
+ * or a command below.
17853
+ */
17854
+ export interface DialogClosedEvent {
17855
+ dialogId: string;
17856
+ }
17837
17857
  }
17838
17858
  }
17839
17859