devtools-protocol 0.0.1259648 → 0.0.1260888

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.
@@ -2227,6 +2227,11 @@
2227
2227
  "description": "The filling strategy",
2228
2228
  "$ref": "FillingStrategy"
2229
2229
  },
2230
+ {
2231
+ "name": "frameId",
2232
+ "description": "The frame the field belongs to",
2233
+ "$ref": "Page.FrameId"
2234
+ },
2230
2235
  {
2231
2236
  "name": "fieldId",
2232
2237
  "description": "The form field's DOM node",
@@ -24245,6 +24250,18 @@
24245
24250
  "description": "The large blob associated with the credential.\nSee https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)",
24246
24251
  "optional": true,
24247
24252
  "type": "string"
24253
+ },
24254
+ {
24255
+ "name": "backupEligibility",
24256
+ "description": "Assertions returned by this credential will have the backup eligibility\n(BE) flag set to this value. Defaults to the authenticator's\ndefaultBackupEligibility value.",
24257
+ "optional": true,
24258
+ "type": "boolean"
24259
+ },
24260
+ {
24261
+ "name": "backupState",
24262
+ "description": "Assertions returned by this credential will have the backup state (BS)\nflag set to this value. Defaults to the authenticator's\ndefaultBackupState value.",
24263
+ "optional": true,
24264
+ "type": "boolean"
24248
24265
  }
24249
24266
  ]
24250
24267
  }
@@ -24424,6 +24441,30 @@
24424
24441
  "type": "boolean"
24425
24442
  }
24426
24443
  ]
24444
+ },
24445
+ {
24446
+ "name": "setCredentialProperties",
24447
+ "description": "Allows setting credential properties.\nhttps://w3c.github.io/webauthn/#sctn-automation-set-credential-properties",
24448
+ "parameters": [
24449
+ {
24450
+ "name": "authenticatorId",
24451
+ "$ref": "AuthenticatorId"
24452
+ },
24453
+ {
24454
+ "name": "credentialId",
24455
+ "type": "string"
24456
+ },
24457
+ {
24458
+ "name": "backupEligibility",
24459
+ "optional": true,
24460
+ "type": "boolean"
24461
+ },
24462
+ {
24463
+ "name": "backupState",
24464
+ "optional": true,
24465
+ "type": "boolean"
24466
+ }
24467
+ ]
24427
24468
  }
24428
24469
  ],
24429
24470
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1259648",
3
+ "version": "0.0.1260888",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1110,6 +1110,8 @@ experimental domain Autofill
1110
1110
  string autofillType
1111
1111
  # The filling strategy
1112
1112
  FillingStrategy fillingStrategy
1113
+ # The frame the field belongs to
1114
+ Page.FrameId frameId
1113
1115
  # The form field's DOM node
1114
1116
  DOM.BackendNodeId fieldId
1115
1117
 
@@ -11410,6 +11412,14 @@ experimental domain WebAuthn
11410
11412
  # The large blob associated with the credential.
11411
11413
  # See https://w3c.github.io/webauthn/#sctn-large-blob-extension
11412
11414
  optional binary largeBlob
11415
+ # Assertions returned by this credential will have the backup eligibility
11416
+ # (BE) flag set to this value. Defaults to the authenticator's
11417
+ # defaultBackupEligibility value.
11418
+ optional boolean backupEligibility
11419
+ # Assertions returned by this credential will have the backup state (BS)
11420
+ # flag set to this value. Defaults to the authenticator's
11421
+ # defaultBackupState value.
11422
+ optional boolean backupState
11413
11423
 
11414
11424
  # Enable the WebAuthn domain and start intercepting credential storage and
11415
11425
  # retrieval with a virtual authenticator.
@@ -11498,6 +11508,15 @@ experimental domain WebAuthn
11498
11508
  AuthenticatorId authenticatorId
11499
11509
  boolean enabled
11500
11510
 
11511
+ # Allows setting credential properties.
11512
+ # https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
11513
+ command setCredentialProperties
11514
+ parameters
11515
+ AuthenticatorId authenticatorId
11516
+ binary credentialId
11517
+ optional boolean backupEligibility
11518
+ optional boolean backupState
11519
+
11501
11520
  # Triggered when a credential is added to an authenticator.
11502
11521
  event credentialAdded
11503
11522
  parameters
@@ -4786,6 +4786,14 @@ export namespace ProtocolMapping {
4786
4786
  paramsType: [Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest];
4787
4787
  returnType: void;
4788
4788
  };
4789
+ /**
4790
+ * Allows setting credential properties.
4791
+ * https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
4792
+ */
4793
+ 'WebAuthn.setCredentialProperties': {
4794
+ paramsType: [Protocol.WebAuthn.SetCredentialPropertiesRequest];
4795
+ returnType: void;
4796
+ };
4789
4797
  /**
4790
4798
  * Enables the Media domain
4791
4799
  */
@@ -4005,6 +4005,12 @@ export namespace ProtocolProxyApi {
4005
4005
  */
4006
4006
  setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<void>;
4007
4007
 
4008
+ /**
4009
+ * Allows setting credential properties.
4010
+ * https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
4011
+ */
4012
+ setCredentialProperties(params: Protocol.WebAuthn.SetCredentialPropertiesRequest): Promise<void>;
4013
+
4008
4014
  /**
4009
4015
  * Triggered when a credential is added to an authenticator.
4010
4016
  */
@@ -4353,6 +4353,12 @@ export namespace ProtocolTestsProxyApi {
4353
4353
  */
4354
4354
  setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<void>;
4355
4355
 
4356
+ /**
4357
+ * Allows setting credential properties.
4358
+ * https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
4359
+ */
4360
+ setCredentialProperties(params: Protocol.WebAuthn.SetCredentialPropertiesRequest): Promise<void>;
4361
+
4356
4362
  /**
4357
4363
  * Triggered when a credential is added to an authenticator.
4358
4364
  */
@@ -3843,6 +3843,10 @@ export namespace Protocol {
3843
3843
  * The filling strategy
3844
3844
  */
3845
3845
  fillingStrategy: FillingStrategy;
3846
+ /**
3847
+ * The frame the field belongs to
3848
+ */
3849
+ frameId: Page.FrameId;
3846
3850
  /**
3847
3851
  * The form field's DOM node
3848
3852
  */
@@ -17592,6 +17596,18 @@ export namespace Protocol {
17592
17596
  * See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
17593
17597
  */
17594
17598
  largeBlob?: string;
17599
+ /**
17600
+ * Assertions returned by this credential will have the backup eligibility
17601
+ * (BE) flag set to this value. Defaults to the authenticator's
17602
+ * defaultBackupEligibility value.
17603
+ */
17604
+ backupEligibility?: boolean;
17605
+ /**
17606
+ * Assertions returned by this credential will have the backup state (BS)
17607
+ * flag set to this value. Defaults to the authenticator's
17608
+ * defaultBackupState value.
17609
+ */
17610
+ backupState?: boolean;
17595
17611
  }
17596
17612
 
17597
17613
  export interface EnableRequest {
@@ -17677,6 +17693,13 @@ export namespace Protocol {
17677
17693
  enabled: boolean;
17678
17694
  }
17679
17695
 
17696
+ export interface SetCredentialPropertiesRequest {
17697
+ authenticatorId: AuthenticatorId;
17698
+ credentialId: string;
17699
+ backupEligibility?: boolean;
17700
+ backupState?: boolean;
17701
+ }
17702
+
17680
17703
  /**
17681
17704
  * Triggered when a credential is added to an authenticator.
17682
17705
  */