devtools-protocol 0.0.1119014 → 0.0.1119769

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.
@@ -22913,11 +22913,10 @@
22913
22913
  "InactivePageRestriction",
22914
22914
  "StartFailed",
22915
22915
  "TimeoutBackgrounded",
22916
- "CrossSiteRedirect",
22917
- "CrossSiteNavigation",
22918
- "SameSiteCrossOriginRedirect",
22919
- "SameSiteCrossOriginRedirectNotOptIn",
22920
- "SameSiteCrossOriginNavigationNotOptIn",
22916
+ "CrossSiteRedirectInInitialNavigation",
22917
+ "CrossSiteNavigationInInitialNavigation",
22918
+ "SameSiteCrossOriginRedirectNotOptInInInitialNavigation",
22919
+ "SameSiteCrossOriginNavigationNotOptInInInitialNavigation",
22921
22920
  "ActivationNavigationParameterMismatch",
22922
22921
  "ActivatedInBackground",
22923
22922
  "EmbedderHostDisallowed",
@@ -22930,7 +22929,11 @@
22930
22929
  "PreloadingDisabled",
22931
22930
  "BatterySaverEnabled",
22932
22931
  "ActivatedDuringMainFrameNavigation",
22933
- "PreloadingUnsupportedByWebContents"
22932
+ "PreloadingUnsupportedByWebContents",
22933
+ "CrossSiteRedirectInMainFrameNavigation",
22934
+ "CrossSiteNavigationInMainFrameNavigation",
22935
+ "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",
22936
+ "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"
22934
22937
  ]
22935
22938
  },
22936
22939
  {
@@ -23138,7 +23141,15 @@
23138
23141
  ],
23139
23142
  "commands": [
23140
23143
  {
23141
- "name": "enable"
23144
+ "name": "enable",
23145
+ "parameters": [
23146
+ {
23147
+ "name": "disableRejectionDelay",
23148
+ "description": "Allows callers to disable the promise rejection delay that would\nnormally happen, if this is unimportant to what's being tested.\n(step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)",
23149
+ "optional": true,
23150
+ "type": "boolean"
23151
+ }
23152
+ ]
23142
23153
  },
23143
23154
  {
23144
23155
  "name": "disable"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1119014",
3
+ "version": "0.0.1119769",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -10842,11 +10842,10 @@ experimental domain Preload
10842
10842
  InactivePageRestriction
10843
10843
  StartFailed
10844
10844
  TimeoutBackgrounded
10845
- CrossSiteRedirect
10846
- CrossSiteNavigation
10847
- SameSiteCrossOriginRedirect
10848
- SameSiteCrossOriginRedirectNotOptIn
10849
- SameSiteCrossOriginNavigationNotOptIn
10845
+ CrossSiteRedirectInInitialNavigation
10846
+ CrossSiteNavigationInInitialNavigation
10847
+ SameSiteCrossOriginRedirectNotOptInInInitialNavigation
10848
+ SameSiteCrossOriginNavigationNotOptInInInitialNavigation
10850
10849
  ActivationNavigationParameterMismatch
10851
10850
  ActivatedInBackground
10852
10851
  EmbedderHostDisallowed
@@ -10860,6 +10859,10 @@ experimental domain Preload
10860
10859
  BatterySaverEnabled
10861
10860
  ActivatedDuringMainFrameNavigation
10862
10861
  PreloadingUnsupportedByWebContents
10862
+ CrossSiteRedirectInMainFrameNavigation
10863
+ CrossSiteNavigationInMainFrameNavigation
10864
+ SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation
10865
+ SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
10863
10866
 
10864
10867
  # Fired when a prerender attempt is completed.
10865
10868
  event prerenderAttemptCompleted
@@ -10935,6 +10938,12 @@ experimental domain FedCm
10935
10938
  array of Account accounts
10936
10939
 
10937
10940
  command enable
10941
+ parameters
10942
+ # Allows callers to disable the promise rejection delay that would
10943
+ # normally happen, if this is unimportant to what's being tested.
10944
+ # (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
10945
+ optional boolean disableRejectionDelay
10946
+
10938
10947
  command disable
10939
10948
 
10940
10949
  command selectAccount
@@ -4651,7 +4651,7 @@ export namespace ProtocolMapping {
4651
4651
  returnType: void;
4652
4652
  };
4653
4653
  'FedCm.enable': {
4654
- paramsType: [];
4654
+ paramsType: [Protocol.FedCm.EnableRequest?];
4655
4655
  returnType: void;
4656
4656
  };
4657
4657
  'FedCm.disable': {
@@ -3970,7 +3970,7 @@ export namespace ProtocolProxyApi {
3970
3970
  }
3971
3971
 
3972
3972
  export interface FedCmApi {
3973
- enable(): Promise<void>;
3973
+ enable(params: Protocol.FedCm.EnableRequest): Promise<void>;
3974
3974
 
3975
3975
  disable(): Promise<void>;
3976
3976
 
@@ -16932,7 +16932,7 @@ export namespace Protocol {
16932
16932
  /**
16933
16933
  * List of FinalStatus reasons for Prerender2.
16934
16934
  */
16935
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | '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' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents');
16935
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | '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' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | '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');
16936
16936
 
16937
16937
  /**
16938
16938
  * Preloading status values, see also PreloadingTriggeringOutcome. This
@@ -17030,6 +17030,15 @@ export namespace Protocol {
17030
17030
  privacyPolicyUrl?: string;
17031
17031
  }
17032
17032
 
17033
+ export interface EnableRequest {
17034
+ /**
17035
+ * Allows callers to disable the promise rejection delay that would
17036
+ * normally happen, if this is unimportant to what's being tested.
17037
+ * (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
17038
+ */
17039
+ disableRejectionDelay?: boolean;
17040
+ }
17041
+
17033
17042
  export interface SelectAccountRequest {
17034
17043
  dialogId: string;
17035
17044
  accountIndex: integer;