devtools-protocol 0.0.1231134 → 0.0.1232444

Sign up to get free protection for your applications and to get access to all the features.
@@ -8571,6 +8571,21 @@
8571
8571
  }
8572
8572
  ]
8573
8573
  },
8574
+ {
8575
+ "id": "DevicePosture",
8576
+ "type": "object",
8577
+ "properties": [
8578
+ {
8579
+ "name": "type",
8580
+ "description": "Current posture of the device",
8581
+ "type": "string",
8582
+ "enum": [
8583
+ "continuous",
8584
+ "folded"
8585
+ ]
8586
+ }
8587
+ ]
8588
+ },
8574
8589
  {
8575
8590
  "id": "MediaFeature",
8576
8591
  "type": "object",
@@ -8958,6 +8973,13 @@
8958
8973
  "experimental": true,
8959
8974
  "optional": true,
8960
8975
  "$ref": "DisplayFeature"
8976
+ },
8977
+ {
8978
+ "name": "devicePosture",
8979
+ "description": "If set, the posture of a foldable device. If not set the posture is set\nto continuous.",
8980
+ "experimental": true,
8981
+ "optional": true,
8982
+ "$ref": "DevicePosture"
8961
8983
  }
8962
8984
  ]
8963
8985
  },
@@ -23617,6 +23639,18 @@
23617
23639
  "description": "Sets whether User Verification succeeds or fails for an authenticator.\nDefaults to false.",
23618
23640
  "optional": true,
23619
23641
  "type": "boolean"
23642
+ },
23643
+ {
23644
+ "name": "defaultBackupEligibility",
23645
+ "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",
23646
+ "optional": true,
23647
+ "type": "boolean"
23648
+ },
23649
+ {
23650
+ "name": "defaultBackupState",
23651
+ "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",
23652
+ "optional": true,
23653
+ "type": "boolean"
23620
23654
  }
23621
23655
  ]
23622
23656
  },
@@ -24700,6 +24734,16 @@
24700
24734
  "type": "string"
24701
24735
  }
24702
24736
  ]
24737
+ },
24738
+ {
24739
+ "name": "dialogClosed",
24740
+ "description": "Triggered when a dialog is closed, either by user action, JS abort,\nor a command below.",
24741
+ "parameters": [
24742
+ {
24743
+ "name": "dialogId",
24744
+ "type": "string"
24745
+ }
24746
+ ]
24703
24747
  }
24704
24748
  ],
24705
24749
  "commands": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1231134",
3
+ "version": "0.0.1232444",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -3916,6 +3916,13 @@ domain Emulation
3916
3916
  # A display feature that only splits content will have a 0 mask_length.
3917
3917
  integer maskLength
3918
3918
 
3919
+ type DevicePosture extends object
3920
+ properties
3921
+ # Current posture of the device
3922
+ enum type
3923
+ continuous
3924
+ folded
3925
+
3919
3926
  type MediaFeature extends object
3920
3927
  properties
3921
3928
  string name
@@ -4073,6 +4080,9 @@ domain Emulation
4073
4080
  # If set, the display feature of a multi-segment screen. If not set, multi-segment support
4074
4081
  # is turned-off.
4075
4082
  experimental optional DisplayFeature displayFeature
4083
+ # If set, the posture of a foldable device. If not set the posture is set
4084
+ # to continuous.
4085
+ experimental optional DevicePosture devicePosture
4076
4086
 
4077
4087
  experimental command setScrollbarsHidden
4078
4088
  parameters
@@ -11103,6 +11113,14 @@ experimental domain WebAuthn
11103
11113
  # Sets whether User Verification succeeds or fails for an authenticator.
11104
11114
  # Defaults to false.
11105
11115
  optional boolean isUserVerified
11116
+ # Credentials created by this authenticator will have the backup
11117
+ # eligibility (BE) flag set to this value. Defaults to false.
11118
+ # https://w3c.github.io/webauthn/#sctn-credential-backup
11119
+ optional boolean defaultBackupEligibility
11120
+ # Credentials created by this authenticator will have the backup state
11121
+ # (BS) flag set to this value. Defaults to false.
11122
+ # https://w3c.github.io/webauthn/#sctn-credential-backup
11123
+ optional boolean defaultBackupState
11106
11124
 
11107
11125
  type Credential extends object
11108
11126
  properties
@@ -11671,6 +11689,12 @@ experimental domain FedCm
11671
11689
  string title
11672
11690
  optional string subtitle
11673
11691
 
11692
+ # Triggered when a dialog is closed, either by user action, JS abort,
11693
+ # or a command below.
11694
+ event dialogClosed
11695
+ parameters
11696
+ string dialogId
11697
+
11674
11698
  command enable
11675
11699
  parameters
11676
11700
  # 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
 
@@ -7900,6 +7900,18 @@ export namespace Protocol {
7900
7900
  maskLength: integer;
7901
7901
  }
7902
7902
 
7903
+ export const enum DevicePostureType {
7904
+ Continuous = 'continuous',
7905
+ Folded = 'folded',
7906
+ }
7907
+
7908
+ export interface DevicePosture {
7909
+ /**
7910
+ * Current posture of the device (DevicePostureType enum)
7911
+ */
7912
+ type: ('continuous' | 'folded');
7913
+ }
7914
+
7903
7915
  export interface MediaFeature {
7904
7916
  name: string;
7905
7917
  value: string;
@@ -8077,6 +8089,11 @@ export namespace Protocol {
8077
8089
  * is turned-off.
8078
8090
  */
8079
8091
  displayFeature?: DisplayFeature;
8092
+ /**
8093
+ * If set, the posture of a foldable device. If not set the posture is set
8094
+ * to continuous.
8095
+ */
8096
+ devicePosture?: DevicePosture;
8080
8097
  }
8081
8098
 
8082
8099
  export interface SetScrollbarsHiddenRequest {
@@ -17270,6 +17287,18 @@ export namespace Protocol {
17270
17287
  * Defaults to false.
17271
17288
  */
17272
17289
  isUserVerified?: boolean;
17290
+ /**
17291
+ * Credentials created by this authenticator will have the backup
17292
+ * eligibility (BE) flag set to this value. Defaults to false.
17293
+ * https://w3c.github.io/webauthn/#sctn-credential-backup
17294
+ */
17295
+ defaultBackupEligibility?: boolean;
17296
+ /**
17297
+ * Credentials created by this authenticator will have the backup state
17298
+ * (BS) flag set to this value. Defaults to false.
17299
+ * https://w3c.github.io/webauthn/#sctn-credential-backup
17300
+ */
17301
+ defaultBackupState?: boolean;
17273
17302
  }
17274
17303
 
17275
17304
  export interface Credential {
@@ -17834,6 +17863,14 @@ export namespace Protocol {
17834
17863
  title: string;
17835
17864
  subtitle?: string;
17836
17865
  }
17866
+
17867
+ /**
17868
+ * Triggered when a dialog is closed, either by user action, JS abort,
17869
+ * or a command below.
17870
+ */
17871
+ export interface DialogClosedEvent {
17872
+ dialogId: string;
17873
+ }
17837
17874
  }
17838
17875
  }
17839
17876