devtools-protocol 0.0.1362837 → 0.0.1366620

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.
@@ -1780,7 +1780,7 @@
1780
1780
  "ThirdPartyCookiesBlocked",
1781
1781
  "NotSignedInWithIdp",
1782
1782
  "MissingTransientUserActivation",
1783
- "ReplacedByButtonMode",
1783
+ "ReplacedByActiveMode",
1784
1784
  "InvalidFieldsSpecified",
1785
1785
  "RelyingPartyOriginIsOpaque",
1786
1786
  "TypeNotMatching"
@@ -25527,6 +25527,18 @@
25527
25527
  "description": "Assertions returned by this credential will have the backup state (BS)\nflag set to this value. Defaults to the authenticator's\ndefaultBackupState value.",
25528
25528
  "optional": true,
25529
25529
  "type": "boolean"
25530
+ },
25531
+ {
25532
+ "name": "userName",
25533
+ "description": "The credential's user.name property. Equivalent to empty if not set.\nhttps://w3c.github.io/webauthn/#dom-publickeycredentialentity-name",
25534
+ "optional": true,
25535
+ "type": "string"
25536
+ },
25537
+ {
25538
+ "name": "userDisplayName",
25539
+ "description": "The credential's user.displayName property. Equivalent to empty if\nnot set.\nhttps://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname",
25540
+ "optional": true,
25541
+ "type": "string"
25530
25542
  }
25531
25543
  ]
25532
25544
  }
@@ -25747,6 +25759,34 @@
25747
25759
  }
25748
25760
  ]
25749
25761
  },
25762
+ {
25763
+ "name": "credentialDeleted",
25764
+ "description": "Triggered when a credential is deleted, e.g. through\nPublicKeyCredential.signalUnknownCredential().",
25765
+ "parameters": [
25766
+ {
25767
+ "name": "authenticatorId",
25768
+ "$ref": "AuthenticatorId"
25769
+ },
25770
+ {
25771
+ "name": "credentialId",
25772
+ "type": "string"
25773
+ }
25774
+ ]
25775
+ },
25776
+ {
25777
+ "name": "credentialUpdated",
25778
+ "description": "Triggered when a credential is updated, e.g. through\nPublicKeyCredential.signalCurrentUserDetails().",
25779
+ "parameters": [
25780
+ {
25781
+ "name": "authenticatorId",
25782
+ "$ref": "AuthenticatorId"
25783
+ },
25784
+ {
25785
+ "name": "credential",
25786
+ "$ref": "Credential"
25787
+ }
25788
+ ]
25789
+ },
25750
25790
  {
25751
25791
  "name": "credentialAsserted",
25752
25792
  "description": "Triggered when a credential is used in a webauthn assertion.",
@@ -26270,7 +26310,8 @@
26270
26310
  "AllPrerenderingCanceled",
26271
26311
  "WindowClosed",
26272
26312
  "SlowNetwork",
26273
- "OtherPrerenderedPageActivated"
26313
+ "OtherPrerenderedPageActivated",
26314
+ "V8OptimizerDisabled"
26274
26315
  ]
26275
26316
  },
26276
26317
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1362837",
3
+ "version": "0.0.1366620",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -918,7 +918,7 @@ experimental domain Audits
918
918
  ThirdPartyCookiesBlocked
919
919
  NotSignedInWithIdp
920
920
  MissingTransientUserActivation
921
- ReplacedByButtonMode
921
+ ReplacedByActiveMode
922
922
  InvalidFieldsSpecified
923
923
  RelyingPartyOriginIsOpaque
924
924
  TypeNotMatching
@@ -11993,6 +11993,13 @@ experimental domain WebAuthn
11993
11993
  # flag set to this value. Defaults to the authenticator's
11994
11994
  # defaultBackupState value.
11995
11995
  optional boolean backupState
11996
+ # The credential's user.name property. Equivalent to empty if not set.
11997
+ # https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name
11998
+ optional string userName
11999
+ # The credential's user.displayName property. Equivalent to empty if
12000
+ # not set.
12001
+ # https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
12002
+ optional string userDisplayName
11996
12003
 
11997
12004
  # Enable the WebAuthn domain and start intercepting credential storage and
11998
12005
  # retrieval with a virtual authenticator.
@@ -12096,6 +12103,20 @@ experimental domain WebAuthn
12096
12103
  AuthenticatorId authenticatorId
12097
12104
  Credential credential
12098
12105
 
12106
+ # Triggered when a credential is deleted, e.g. through
12107
+ # PublicKeyCredential.signalUnknownCredential().
12108
+ event credentialDeleted
12109
+ parameters
12110
+ AuthenticatorId authenticatorId
12111
+ binary credentialId
12112
+
12113
+ # Triggered when a credential is updated, e.g. through
12114
+ # PublicKeyCredential.signalCurrentUserDetails().
12115
+ event credentialUpdated
12116
+ parameters
12117
+ AuthenticatorId authenticatorId
12118
+ Credential credential
12119
+
12099
12120
  # Triggered when a credential is used in a webauthn assertion.
12100
12121
  event credentialAsserted
12101
12122
  parameters
@@ -12409,6 +12430,7 @@ experimental domain Preload
12409
12430
  WindowClosed
12410
12431
  SlowNetwork
12411
12432
  OtherPrerenderedPageActivated
12433
+ V8OptimizerDisabled
12412
12434
 
12413
12435
  # Fired when a preload enabled state is updated.
12414
12436
  event preloadEnabledStateUpdated
@@ -721,6 +721,16 @@ export namespace ProtocolMapping {
721
721
  * Triggered when a credential is added to an authenticator.
722
722
  */
723
723
  'WebAuthn.credentialAdded': [Protocol.WebAuthn.CredentialAddedEvent];
724
+ /**
725
+ * Triggered when a credential is deleted, e.g. through
726
+ * PublicKeyCredential.signalUnknownCredential().
727
+ */
728
+ 'WebAuthn.credentialDeleted': [Protocol.WebAuthn.CredentialDeletedEvent];
729
+ /**
730
+ * Triggered when a credential is updated, e.g. through
731
+ * PublicKeyCredential.signalCurrentUserDetails().
732
+ */
733
+ 'WebAuthn.credentialUpdated': [Protocol.WebAuthn.CredentialUpdatedEvent];
724
734
  /**
725
735
  * Triggered when a credential is used in a webauthn assertion.
726
736
  */
@@ -4181,6 +4181,18 @@ export namespace ProtocolProxyApi {
4181
4181
  */
4182
4182
  on(event: 'credentialAdded', listener: (params: Protocol.WebAuthn.CredentialAddedEvent) => void): void;
4183
4183
 
4184
+ /**
4185
+ * Triggered when a credential is deleted, e.g. through
4186
+ * PublicKeyCredential.signalUnknownCredential().
4187
+ */
4188
+ on(event: 'credentialDeleted', listener: (params: Protocol.WebAuthn.CredentialDeletedEvent) => void): void;
4189
+
4190
+ /**
4191
+ * Triggered when a credential is updated, e.g. through
4192
+ * PublicKeyCredential.signalCurrentUserDetails().
4193
+ */
4194
+ on(event: 'credentialUpdated', listener: (params: Protocol.WebAuthn.CredentialUpdatedEvent) => void): void;
4195
+
4184
4196
  /**
4185
4197
  * Triggered when a credential is used in a webauthn assertion.
4186
4198
  */
@@ -4541,6 +4541,22 @@ export namespace ProtocolTestsProxyApi {
4541
4541
  offCredentialAdded(listener: (event: { params: Protocol.WebAuthn.CredentialAddedEvent }) => void): void;
4542
4542
  onceCredentialAdded(eventMatcher?: (event: { params: Protocol.WebAuthn.CredentialAddedEvent }) => boolean): Promise<{ params: Protocol.WebAuthn.CredentialAddedEvent }>;
4543
4543
 
4544
+ /**
4545
+ * Triggered when a credential is deleted, e.g. through
4546
+ * PublicKeyCredential.signalUnknownCredential().
4547
+ */
4548
+ onCredentialDeleted(listener: (event: { params: Protocol.WebAuthn.CredentialDeletedEvent }) => void): void;
4549
+ offCredentialDeleted(listener: (event: { params: Protocol.WebAuthn.CredentialDeletedEvent }) => void): void;
4550
+ onceCredentialDeleted(eventMatcher?: (event: { params: Protocol.WebAuthn.CredentialDeletedEvent }) => boolean): Promise<{ params: Protocol.WebAuthn.CredentialDeletedEvent }>;
4551
+
4552
+ /**
4553
+ * Triggered when a credential is updated, e.g. through
4554
+ * PublicKeyCredential.signalCurrentUserDetails().
4555
+ */
4556
+ onCredentialUpdated(listener: (event: { params: Protocol.WebAuthn.CredentialUpdatedEvent }) => void): void;
4557
+ offCredentialUpdated(listener: (event: { params: Protocol.WebAuthn.CredentialUpdatedEvent }) => void): void;
4558
+ onceCredentialUpdated(eventMatcher?: (event: { params: Protocol.WebAuthn.CredentialUpdatedEvent }) => boolean): Promise<{ params: Protocol.WebAuthn.CredentialUpdatedEvent }>;
4559
+
4544
4560
  /**
4545
4561
  * Triggered when a credential is used in a webauthn assertion.
4546
4562
  */
@@ -3589,7 +3589,7 @@ export namespace Protocol {
3589
3589
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3590
3590
  * all cases except for success.
3591
3591
  */
3592
- export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching');
3592
+ export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching');
3593
3593
 
3594
3594
  export interface FederatedAuthUserInfoRequestIssueDetails {
3595
3595
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
@@ -18226,6 +18226,17 @@ export namespace Protocol {
18226
18226
  * defaultBackupState value.
18227
18227
  */
18228
18228
  backupState?: boolean;
18229
+ /**
18230
+ * The credential's user.name property. Equivalent to empty if not set.
18231
+ * https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name
18232
+ */
18233
+ userName?: string;
18234
+ /**
18235
+ * The credential's user.displayName property. Equivalent to empty if
18236
+ * not set.
18237
+ * https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
18238
+ */
18239
+ userDisplayName?: string;
18229
18240
  }
18230
18241
 
18231
18242
  export interface EnableRequest {
@@ -18326,6 +18337,24 @@ export namespace Protocol {
18326
18337
  credential: Credential;
18327
18338
  }
18328
18339
 
18340
+ /**
18341
+ * Triggered when a credential is deleted, e.g. through
18342
+ * PublicKeyCredential.signalUnknownCredential().
18343
+ */
18344
+ export interface CredentialDeletedEvent {
18345
+ authenticatorId: AuthenticatorId;
18346
+ credentialId: string;
18347
+ }
18348
+
18349
+ /**
18350
+ * Triggered when a credential is updated, e.g. through
18351
+ * PublicKeyCredential.signalCurrentUserDetails().
18352
+ */
18353
+ export interface CredentialUpdatedEvent {
18354
+ authenticatorId: AuthenticatorId;
18355
+ credential: Credential;
18356
+ }
18357
+
18329
18358
  /**
18330
18359
  * Triggered when a credential is used in a webauthn assertion.
18331
18360
  */
@@ -18608,7 +18637,7 @@ export namespace Protocol {
18608
18637
  /**
18609
18638
  * List of FinalStatus reasons for Prerender2.
18610
18639
  */
18611
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated');
18640
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled');
18612
18641
 
18613
18642
  /**
18614
18643
  * Preloading status values, see also PreloadingTriggeringOutcome. This