devtools-protocol 0.0.1119014 → 0.0.1120367

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.
@@ -1547,7 +1547,8 @@
1547
1547
  "FormAriaLabelledByToNonExistingId",
1548
1548
  "FormInputAssignedAutocompleteValueToIdOrNameAttributeError",
1549
1549
  "FormLabelHasNeitherForNorNestedInput",
1550
- "FormLabelForMatchesNonExistingIdError"
1550
+ "FormLabelForMatchesNonExistingIdError",
1551
+ "FormInputHasWrongButWellIntendedAutocompleteValueError"
1551
1552
  ]
1552
1553
  },
1553
1554
  {
@@ -22913,11 +22914,10 @@
22913
22914
  "InactivePageRestriction",
22914
22915
  "StartFailed",
22915
22916
  "TimeoutBackgrounded",
22916
- "CrossSiteRedirect",
22917
- "CrossSiteNavigation",
22918
- "SameSiteCrossOriginRedirect",
22919
- "SameSiteCrossOriginRedirectNotOptIn",
22920
- "SameSiteCrossOriginNavigationNotOptIn",
22917
+ "CrossSiteRedirectInInitialNavigation",
22918
+ "CrossSiteNavigationInInitialNavigation",
22919
+ "SameSiteCrossOriginRedirectNotOptInInInitialNavigation",
22920
+ "SameSiteCrossOriginNavigationNotOptInInInitialNavigation",
22921
22921
  "ActivationNavigationParameterMismatch",
22922
22922
  "ActivatedInBackground",
22923
22923
  "EmbedderHostDisallowed",
@@ -22930,7 +22930,11 @@
22930
22930
  "PreloadingDisabled",
22931
22931
  "BatterySaverEnabled",
22932
22932
  "ActivatedDuringMainFrameNavigation",
22933
- "PreloadingUnsupportedByWebContents"
22933
+ "PreloadingUnsupportedByWebContents",
22934
+ "CrossSiteRedirectInMainFrameNavigation",
22935
+ "CrossSiteNavigationInMainFrameNavigation",
22936
+ "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",
22937
+ "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"
22934
22938
  ]
22935
22939
  },
22936
22940
  {
@@ -23040,8 +23044,12 @@
23040
23044
  },
23041
23045
  {
23042
23046
  "name": "preloadingAttemptSourcesUpdated",
23043
- "description": "Send a list of sources for all preloading attempts.",
23047
+ "description": "Send a list of sources for all preloading attempts in a document.",
23044
23048
  "parameters": [
23049
+ {
23050
+ "name": "loaderId",
23051
+ "$ref": "Network.LoaderId"
23052
+ },
23045
23053
  {
23046
23054
  "name": "preloadingAttemptSources",
23047
23055
  "type": "array",
@@ -23138,7 +23146,15 @@
23138
23146
  ],
23139
23147
  "commands": [
23140
23148
  {
23141
- "name": "enable"
23149
+ "name": "enable",
23150
+ "parameters": [
23151
+ {
23152
+ "name": "disableRejectionDelay",
23153
+ "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)",
23154
+ "optional": true,
23155
+ "type": "boolean"
23156
+ }
23157
+ ]
23142
23158
  },
23143
23159
  {
23144
23160
  "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.1120367",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -756,6 +756,7 @@ experimental domain Audits
756
756
  FormInputAssignedAutocompleteValueToIdOrNameAttributeError
757
757
  FormLabelHasNeitherForNorNestedInput
758
758
  FormLabelForMatchesNonExistingIdError
759
+ FormInputHasWrongButWellIntendedAutocompleteValueError
759
760
 
760
761
  # Depending on the concrete errorType, different properties are set.
761
762
  type GenericIssueDetails extends object
@@ -10842,11 +10843,10 @@ experimental domain Preload
10842
10843
  InactivePageRestriction
10843
10844
  StartFailed
10844
10845
  TimeoutBackgrounded
10845
- CrossSiteRedirect
10846
- CrossSiteNavigation
10847
- SameSiteCrossOriginRedirect
10848
- SameSiteCrossOriginRedirectNotOptIn
10849
- SameSiteCrossOriginNavigationNotOptIn
10846
+ CrossSiteRedirectInInitialNavigation
10847
+ CrossSiteNavigationInInitialNavigation
10848
+ SameSiteCrossOriginRedirectNotOptInInInitialNavigation
10849
+ SameSiteCrossOriginNavigationNotOptInInInitialNavigation
10850
10850
  ActivationNavigationParameterMismatch
10851
10851
  ActivatedInBackground
10852
10852
  EmbedderHostDisallowed
@@ -10860,6 +10860,10 @@ experimental domain Preload
10860
10860
  BatterySaverEnabled
10861
10861
  ActivatedDuringMainFrameNavigation
10862
10862
  PreloadingUnsupportedByWebContents
10863
+ CrossSiteRedirectInMainFrameNavigation
10864
+ CrossSiteNavigationInMainFrameNavigation
10865
+ SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation
10866
+ SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
10863
10867
 
10864
10868
  # Fired when a prerender attempt is completed.
10865
10869
  event prerenderAttemptCompleted
@@ -10900,9 +10904,10 @@ experimental domain Preload
10900
10904
  string prerenderingUrl
10901
10905
  PreloadingStatus status
10902
10906
 
10903
- # Send a list of sources for all preloading attempts.
10907
+ # Send a list of sources for all preloading attempts in a document.
10904
10908
  event preloadingAttemptSourcesUpdated
10905
10909
  parameters
10910
+ Network.LoaderId loaderId
10906
10911
  array of PreloadingAttemptSource preloadingAttemptSources
10907
10912
 
10908
10913
  # This domain allows interacting with the FedCM dialog.
@@ -10935,6 +10940,12 @@ experimental domain FedCm
10935
10940
  array of Account accounts
10936
10941
 
10937
10942
  command enable
10943
+ parameters
10944
+ # Allows callers to disable the promise rejection delay that would
10945
+ # normally happen, if this is unimportant to what's being tested.
10946
+ # (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
10947
+ optional boolean disableRejectionDelay
10948
+
10938
10949
  command disable
10939
10950
 
10940
10951
  command selectAccount
@@ -723,7 +723,7 @@ export namespace ProtocolMapping {
723
723
  */
724
724
  'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
725
725
  /**
726
- * Send a list of sources for all preloading attempts.
726
+ * Send a list of sources for all preloading attempts in a document.
727
727
  */
728
728
  'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
729
729
  'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
@@ -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': {
@@ -3963,14 +3963,14 @@ export namespace ProtocolProxyApi {
3963
3963
  on(event: 'prerenderStatusUpdated', listener: (params: Protocol.Preload.PrerenderStatusUpdatedEvent) => void): void;
3964
3964
 
3965
3965
  /**
3966
- * Send a list of sources for all preloading attempts.
3966
+ * Send a list of sources for all preloading attempts in a document.
3967
3967
  */
3968
3968
  on(event: 'preloadingAttemptSourcesUpdated', listener: (params: Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent) => void): void;
3969
3969
 
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
 
@@ -3443,7 +3443,7 @@ export namespace Protocol {
3443
3443
  location?: SourceCodeLocation;
3444
3444
  }
3445
3445
 
3446
- export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError');
3446
+ export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError');
3447
3447
 
3448
3448
  /**
3449
3449
  * Depending on the concrete errorType, different properties are set.
@@ -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
@@ -16993,9 +16993,10 @@ export namespace Protocol {
16993
16993
  }
16994
16994
 
16995
16995
  /**
16996
- * Send a list of sources for all preloading attempts.
16996
+ * Send a list of sources for all preloading attempts in a document.
16997
16997
  */
16998
16998
  export interface PreloadingAttemptSourcesUpdatedEvent {
16999
+ loaderId: Network.LoaderId;
16999
17000
  preloadingAttemptSources: PreloadingAttemptSource[];
17000
17001
  }
17001
17002
  }
@@ -17030,6 +17031,15 @@ export namespace Protocol {
17030
17031
  privacyPolicyUrl?: string;
17031
17032
  }
17032
17033
 
17034
+ export interface EnableRequest {
17035
+ /**
17036
+ * Allows callers to disable the promise rejection delay that would
17037
+ * normally happen, if this is unimportant to what's being tested.
17038
+ * (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
17039
+ */
17040
+ disableRejectionDelay?: boolean;
17041
+ }
17042
+
17033
17043
  export interface SelectAccountRequest {
17034
17044
  dialogId: string;
17035
17045
  accountIndex: integer;