devtools-protocol 0.0.1001785 → 0.0.1003898

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.
@@ -16080,7 +16080,39 @@
16080
16080
  "description": "List of FinalStatus reasons for Prerender2.",
16081
16081
  "type": "string",
16082
16082
  "enum": [
16083
- "Activated"
16083
+ "Activated",
16084
+ "Destroyed",
16085
+ "LowEndDevice",
16086
+ "CrossOriginRedirect",
16087
+ "CrossOriginNavigation",
16088
+ "InvalidSchemeRedirect",
16089
+ "InvalidSchemeNavigation",
16090
+ "InProgressNavigation",
16091
+ "NavigationRequestBlockedByCsp",
16092
+ "MainFrameNavigation",
16093
+ "MojoBinderPolicy",
16094
+ "RendererProcessCrashed",
16095
+ "RendererProcessKilled",
16096
+ "Download",
16097
+ "TriggerDestroyed",
16098
+ "NavigationNotCommitted",
16099
+ "NavigationBadHttpStatus",
16100
+ "ClientCertRequested",
16101
+ "NavigationRequestNetworkError",
16102
+ "MaxNumOfRunningPrerendersExceeded",
16103
+ "CancelAllHostsForTesting",
16104
+ "DidFailLoad",
16105
+ "Stop",
16106
+ "SslCertificateError",
16107
+ "LoginAuthRequested",
16108
+ "UaChangeRequiresReload",
16109
+ "BlockedByClient",
16110
+ "AudioOutputDeviceRequested",
16111
+ "MixedContent",
16112
+ "TriggerBackgrounded",
16113
+ "EmbedderTriggeredAndSameOriginRedirected",
16114
+ "EmbedderTriggeredAndCrossOriginRedirected",
16115
+ "EmbedderTriggeredAndDestroyed"
16084
16116
  ]
16085
16117
  }
16086
16118
  ],
@@ -16553,7 +16585,7 @@
16553
16585
  },
16554
16586
  {
16555
16587
  "name": "loaderId",
16556
- "description": "Loader identifier.",
16588
+ "description": "Loader identifier. This is omitted in case of same-document navigation,\nas the previously committed loaderId would not change.",
16557
16589
  "optional": true,
16558
16590
  "$ref": "Network.LoaderId"
16559
16591
  },
@@ -21460,7 +21492,15 @@
21460
21492
  "commands": [
21461
21493
  {
21462
21494
  "name": "enable",
21463
- "description": "Enable the WebAuthn domain and start intercepting credential storage and\nretrieval with a virtual authenticator."
21495
+ "description": "Enable the WebAuthn domain and start intercepting credential storage and\nretrieval with a virtual authenticator.",
21496
+ "parameters": [
21497
+ {
21498
+ "name": "enableUI",
21499
+ "description": "Whether to enable the WebAuthn user interface. Enabling the UI is\nrecommended for debugging and demo purposes, as it is closer to the real\nexperience. Disabling the UI is recommended for automated testing.\nSupported at the embedder's discretion if UI is available.\nDefaults to false.",
21500
+ "optional": true,
21501
+ "type": "boolean"
21502
+ }
21503
+ ]
21464
21504
  },
21465
21505
  {
21466
21506
  "name": "disable",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1001785",
3
+ "version": "0.0.1003898",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7634,7 +7634,8 @@ domain Page
7634
7634
  returns
7635
7635
  # Frame id that has navigated (or failed to navigate)
7636
7636
  FrameId frameId
7637
- # Loader identifier.
7637
+ # Loader identifier. This is omitted in case of same-document navigation,
7638
+ # as the previously committed loaderId would not change.
7638
7639
  optional Network.LoaderId loaderId
7639
7640
  # User friendly error message, present if and only if navigation has failed.
7640
7641
  optional string errorText
@@ -8319,6 +8320,38 @@ domain Page
8319
8320
  type PrerenderFinalStatus extends string
8320
8321
  enum
8321
8322
  Activated
8323
+ Destroyed
8324
+ LowEndDevice
8325
+ CrossOriginRedirect
8326
+ CrossOriginNavigation
8327
+ InvalidSchemeRedirect
8328
+ InvalidSchemeNavigation
8329
+ InProgressNavigation
8330
+ NavigationRequestBlockedByCsp
8331
+ MainFrameNavigation
8332
+ MojoBinderPolicy
8333
+ RendererProcessCrashed
8334
+ RendererProcessKilled
8335
+ Download
8336
+ TriggerDestroyed
8337
+ NavigationNotCommitted
8338
+ NavigationBadHttpStatus
8339
+ ClientCertRequested
8340
+ NavigationRequestNetworkError
8341
+ MaxNumOfRunningPrerendersExceeded
8342
+ CancelAllHostsForTesting
8343
+ DidFailLoad
8344
+ Stop
8345
+ SslCertificateError
8346
+ LoginAuthRequested
8347
+ UaChangeRequiresReload
8348
+ BlockedByClient
8349
+ AudioOutputDeviceRequested
8350
+ MixedContent
8351
+ TriggerBackgrounded
8352
+ EmbedderTriggeredAndSameOriginRedirected
8353
+ EmbedderTriggeredAndCrossOriginRedirected
8354
+ EmbedderTriggeredAndDestroyed
8322
8355
 
8323
8356
  # Fired when a prerender attempt is completed.
8324
8357
  event prerenderAttemptCompleted
@@ -10088,6 +10121,13 @@ experimental domain WebAuthn
10088
10121
  # Enable the WebAuthn domain and start intercepting credential storage and
10089
10122
  # retrieval with a virtual authenticator.
10090
10123
  command enable
10124
+ parameters
10125
+ # Whether to enable the WebAuthn user interface. Enabling the UI is
10126
+ # recommended for debugging and demo purposes, as it is closer to the real
10127
+ # experience. Disabling the UI is recommended for automated testing.
10128
+ # Supported at the embedder's discretion if UI is available.
10129
+ # Defaults to false.
10130
+ optional boolean enableUI
10091
10131
 
10092
10132
  # Disable the WebAuthn domain.
10093
10133
  command disable
@@ -4339,7 +4339,7 @@ export namespace ProtocolMapping {
4339
4339
  * retrieval with a virtual authenticator.
4340
4340
  */
4341
4341
  'WebAuthn.enable': {
4342
- paramsType: [];
4342
+ paramsType: [Protocol.WebAuthn.EnableRequest?];
4343
4343
  returnType: void;
4344
4344
  };
4345
4345
  /**
@@ -3677,7 +3677,7 @@ export namespace ProtocolProxyApi {
3677
3677
  * Enable the WebAuthn domain and start intercepting credential storage and
3678
3678
  * retrieval with a virtual authenticator.
3679
3679
  */
3680
- enable(): Promise<void>;
3680
+ enable(params: Protocol.WebAuthn.EnableRequest): Promise<void>;
3681
3681
 
3682
3682
  /**
3683
3683
  * Disable the WebAuthn domain.
@@ -12627,7 +12627,7 @@ export namespace Protocol {
12627
12627
  /**
12628
12628
  * List of FinalStatus reasons for Prerender2.
12629
12629
  */
12630
- export type PrerenderFinalStatus = ('Activated');
12630
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed');
12631
12631
 
12632
12632
  export interface AddScriptToEvaluateOnLoadRequest {
12633
12633
  scriptSource: string;
@@ -12907,7 +12907,8 @@ export namespace Protocol {
12907
12907
  */
12908
12908
  frameId: FrameId;
12909
12909
  /**
12910
- * Loader identifier.
12910
+ * Loader identifier. This is omitted in case of same-document navigation,
12911
+ * as the previously committed loaderId would not change.
12911
12912
  */
12912
12913
  loaderId?: Network.LoaderId;
12913
12914
  /**
@@ -15995,6 +15996,17 @@ export namespace Protocol {
15995
15996
  largeBlob?: string;
15996
15997
  }
15997
15998
 
15999
+ export interface EnableRequest {
16000
+ /**
16001
+ * Whether to enable the WebAuthn user interface. Enabling the UI is
16002
+ * recommended for debugging and demo purposes, as it is closer to the real
16003
+ * experience. Disabling the UI is recommended for automated testing.
16004
+ * Supported at the embedder's discretion if UI is available.
16005
+ * Defaults to false.
16006
+ */
16007
+ enableUI?: boolean;
16008
+ }
16009
+
15998
16010
  export interface AddVirtualAuthenticatorRequest {
15999
16011
  options: VirtualAuthenticatorOptions;
16000
16012
  }