devtools-protocol 0.0.1359167 → 0.0.1363470

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  {
@@ -788,6 +788,21 @@
788
788
  }
789
789
  ]
790
790
  },
791
+ {
792
+ "name": "setBlackboxExecutionContexts",
793
+ "description": "Replace previous blackbox execution contexts with passed ones. Forces backend to skip\nstepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by\nperforming 'step in' several times, finally resorting to 'step out' if unsuccessful.",
794
+ "experimental": true,
795
+ "parameters": [
796
+ {
797
+ "name": "uniqueIds",
798
+ "description": "Array of execution context unique ids for the debugger to ignore.",
799
+ "type": "array",
800
+ "items": {
801
+ "type": "string"
802
+ }
803
+ }
804
+ ]
805
+ },
791
806
  {
792
807
  "name": "setBlackboxPatterns",
793
808
  "description": "Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in\nscripts with url matching one of the patterns. VM will try to leave blackboxed script by\nperforming 'step in' several times, finally resorting to 'step out' if unsuccessful.",
@@ -800,6 +815,12 @@
800
815
  "items": {
801
816
  "type": "string"
802
817
  }
818
+ },
819
+ {
820
+ "name": "skipAnonymous",
821
+ "description": "If true, also ignore scripts with no source url.",
822
+ "optional": true,
823
+ "type": "boolean"
803
824
  }
804
825
  ]
805
826
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1359167",
3
+ "version": "0.0.1363470",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
@@ -369,6 +369,14 @@ domain Debugger
369
369
  # call stacks (default).
370
370
  integer maxDepth
371
371
 
372
+ # Replace previous blackbox execution contexts with passed ones. Forces backend to skip
373
+ # stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
374
+ # performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
375
+ experimental command setBlackboxExecutionContexts
376
+ parameters
377
+ # Array of execution context unique ids for the debugger to ignore.
378
+ array of string uniqueIds
379
+
372
380
  # Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
373
381
  # scripts with url matching one of the patterns. VM will try to leave blackboxed script by
374
382
  # performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
@@ -376,6 +384,8 @@ domain Debugger
376
384
  parameters
377
385
  # Array of regexps that will be used to check script url for blackbox state.
378
386
  array of string patterns
387
+ # If true, also ignore scripts with no source url.
388
+ optional boolean skipAnonymous
379
389
 
380
390
  # Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
381
391
  # scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
@@ -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
  */
@@ -936,6 +946,15 @@ export namespace ProtocolMapping {
936
946
  paramsType: [Protocol.Debugger.SetAsyncCallStackDepthRequest];
937
947
  returnType: void;
938
948
  };
949
+ /**
950
+ * Replace previous blackbox execution contexts with passed ones. Forces backend to skip
951
+ * stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
952
+ * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
953
+ */
954
+ 'Debugger.setBlackboxExecutionContexts': {
955
+ paramsType: [Protocol.Debugger.SetBlackboxExecutionContextsRequest];
956
+ returnType: void;
957
+ };
939
958
  /**
940
959
  * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
941
960
  * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
@@ -242,6 +242,13 @@ export namespace ProtocolProxyApi {
242
242
  */
243
243
  setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest): Promise<void>;
244
244
 
245
+ /**
246
+ * Replace previous blackbox execution contexts with passed ones. Forces backend to skip
247
+ * stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
248
+ * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
249
+ */
250
+ setBlackboxExecutionContexts(params: Protocol.Debugger.SetBlackboxExecutionContextsRequest): Promise<void>;
251
+
245
252
  /**
246
253
  * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
247
254
  * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
@@ -4174,6 +4181,18 @@ export namespace ProtocolProxyApi {
4174
4181
  */
4175
4182
  on(event: 'credentialAdded', listener: (params: Protocol.WebAuthn.CredentialAddedEvent) => void): void;
4176
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
+
4177
4196
  /**
4178
4197
  * Triggered when a credential is used in a webauthn assertion.
4179
4198
  */
@@ -244,6 +244,13 @@ export namespace ProtocolTestsProxyApi {
244
244
  */
245
245
  setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest): Promise<{id: number, result: void, sessionId: string}>;
246
246
 
247
+ /**
248
+ * Replace previous blackbox execution contexts with passed ones. Forces backend to skip
249
+ * stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
250
+ * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
251
+ */
252
+ setBlackboxExecutionContexts(params: Protocol.Debugger.SetBlackboxExecutionContextsRequest): Promise<{id: number, result: void, sessionId: string}>;
253
+
247
254
  /**
248
255
  * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
249
256
  * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
@@ -4534,6 +4541,22 @@ export namespace ProtocolTestsProxyApi {
4534
4541
  offCredentialAdded(listener: (event: { params: Protocol.WebAuthn.CredentialAddedEvent }) => void): void;
4535
4542
  onceCredentialAdded(eventMatcher?: (event: { params: Protocol.WebAuthn.CredentialAddedEvent }) => boolean): Promise<{ params: Protocol.WebAuthn.CredentialAddedEvent }>;
4536
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
+
4537
4560
  /**
4538
4561
  * Triggered when a credential is used in a webauthn assertion.
4539
4562
  */
@@ -562,11 +562,22 @@ export namespace Protocol {
562
562
  maxDepth: integer;
563
563
  }
564
564
 
565
+ export interface SetBlackboxExecutionContextsRequest {
566
+ /**
567
+ * Array of execution context unique ids for the debugger to ignore.
568
+ */
569
+ uniqueIds: string[];
570
+ }
571
+
565
572
  export interface SetBlackboxPatternsRequest {
566
573
  /**
567
574
  * Array of regexps that will be used to check script url for blackbox state.
568
575
  */
569
576
  patterns: string[];
577
+ /**
578
+ * If true, also ignore scripts with no source url.
579
+ */
580
+ skipAnonymous?: boolean;
570
581
  }
571
582
 
572
583
  export interface SetBlackboxedRangesRequest {
@@ -18215,6 +18226,17 @@ export namespace Protocol {
18215
18226
  * defaultBackupState value.
18216
18227
  */
18217
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;
18218
18240
  }
18219
18241
 
18220
18242
  export interface EnableRequest {
@@ -18315,6 +18337,24 @@ export namespace Protocol {
18315
18337
  credential: Credential;
18316
18338
  }
18317
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
+
18318
18358
  /**
18319
18359
  * Triggered when a credential is used in a webauthn assertion.
18320
18360
  */
@@ -18597,7 +18637,7 @@ export namespace Protocol {
18597
18637
  /**
18598
18638
  * List of FinalStatus reasons for Prerender2.
18599
18639
  */
18600
- 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');
18601
18641
 
18602
18642
  /**
18603
18643
  * Preloading status values, see also PreloadingTriggeringOutcome. This