devtools-protocol 0.0.1131670 → 0.0.1133601

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.
@@ -1641,14 +1641,17 @@
1641
1641
  "WellKnownNoResponse",
1642
1642
  "WellKnownInvalidResponse",
1643
1643
  "WellKnownListEmpty",
1644
+ "WellKnownInvalidContentType",
1644
1645
  "ConfigNotInWellKnown",
1645
1646
  "WellKnownTooBig",
1646
1647
  "ConfigHttpNotFound",
1647
1648
  "ConfigNoResponse",
1648
1649
  "ConfigInvalidResponse",
1650
+ "ConfigInvalidContentType",
1649
1651
  "ClientMetadataHttpNotFound",
1650
1652
  "ClientMetadataNoResponse",
1651
1653
  "ClientMetadataInvalidResponse",
1654
+ "ClientMetadataInvalidContentType",
1652
1655
  "DisabledInSettings",
1653
1656
  "ErrorFetchingSignin",
1654
1657
  "InvalidSigninResponse",
@@ -1656,10 +1659,12 @@
1656
1659
  "AccountsNoResponse",
1657
1660
  "AccountsInvalidResponse",
1658
1661
  "AccountsListEmpty",
1662
+ "AccountsInvalidContentType",
1659
1663
  "IdTokenHttpNotFound",
1660
1664
  "IdTokenNoResponse",
1661
1665
  "IdTokenInvalidResponse",
1662
1666
  "IdTokenInvalidRequest",
1667
+ "IdTokenInvalidContentType",
1663
1668
  "ErrorIdToken",
1664
1669
  "Canceled",
1665
1670
  "RpPageNotVisible"
@@ -23136,6 +23141,17 @@
23136
23141
  "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"
23137
23142
  ]
23138
23143
  },
23144
+ {
23145
+ "id": "PreloadEnabledState",
23146
+ "type": "string",
23147
+ "enum": [
23148
+ "Enabled",
23149
+ "DisabledByDataSaver",
23150
+ "DisabledByBatterySaver",
23151
+ "DisabledByPreference",
23152
+ "NotSupported"
23153
+ ]
23154
+ },
23139
23155
  {
23140
23156
  "id": "PreloadingStatus",
23141
23157
  "description": "Preloading status values, see also PreloadingTriggeringOutcome. This\nstatus is shared by prefetchStatusUpdated and prerenderStatusUpdated.",
@@ -23207,6 +23223,16 @@
23207
23223
  }
23208
23224
  ]
23209
23225
  },
23226
+ {
23227
+ "name": "preloadEnabledStateUpdated",
23228
+ "description": "Fired when a preload enabled state is updated.",
23229
+ "parameters": [
23230
+ {
23231
+ "name": "state",
23232
+ "$ref": "PreloadEnabledState"
23233
+ }
23234
+ ]
23235
+ },
23210
23236
  {
23211
23237
  "name": "prefetchStatusUpdated",
23212
23238
  "description": "Fired when a prefetch attempt is updated.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1131670",
3
+ "version": "0.0.1133601",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -777,8 +777,8 @@ experimental domain Audits
777
777
 
778
778
  # This issue warns about sites in the redirect chain of a finished navigation
779
779
  # that may be flagged as trackers and have their state cleared if they don't
780
- # receive a user interaction. Note that in this context 'site' means eTLD+1.
781
- # For example, if the URL `https://example.test:80/bounce` was in the
780
+ # receive a user interaction. Note that in this context 'site' means eTLD+1.
781
+ # For example, if the URL `https://example.test:80/bounce` was in the
782
782
  # redirect chain, the site reported would be `example.test`.
783
783
  type BounceTrackingIssueDetails extends object
784
784
  properties
@@ -809,14 +809,17 @@ experimental domain Audits
809
809
  WellKnownNoResponse
810
810
  WellKnownInvalidResponse
811
811
  WellKnownListEmpty
812
+ WellKnownInvalidContentType
812
813
  ConfigNotInWellKnown
813
814
  WellKnownTooBig
814
815
  ConfigHttpNotFound
815
816
  ConfigNoResponse
816
817
  ConfigInvalidResponse
818
+ ConfigInvalidContentType
817
819
  ClientMetadataHttpNotFound
818
820
  ClientMetadataNoResponse
819
821
  ClientMetadataInvalidResponse
822
+ ClientMetadataInvalidContentType
820
823
  DisabledInSettings
821
824
  ErrorFetchingSignin
822
825
  InvalidSigninResponse
@@ -824,10 +827,12 @@ experimental domain Audits
824
827
  AccountsNoResponse
825
828
  AccountsInvalidResponse
826
829
  AccountsListEmpty
830
+ AccountsInvalidContentType
827
831
  IdTokenHttpNotFound
828
832
  IdTokenNoResponse
829
833
  IdTokenInvalidResponse
830
834
  IdTokenInvalidRequest
835
+ IdTokenInvalidContentType
831
836
  ErrorIdToken
832
837
  Canceled
833
838
  RpPageNotVisible
@@ -10958,6 +10963,20 @@ experimental domain Preload
10958
10963
  # that is incompatible with prerender and has caused the cancellation of the attempt
10959
10964
  optional string disallowedApiMethod
10960
10965
 
10966
+ type PreloadEnabledState extends string
10967
+ enum
10968
+ Enabled
10969
+ DisabledByDataSaver
10970
+ DisabledByBatterySaver
10971
+ DisabledByPreference
10972
+ # Service not available.
10973
+ NotSupported
10974
+
10975
+ # Fired when a preload enabled state is updated.
10976
+ event preloadEnabledStateUpdated
10977
+ parameters
10978
+ PreloadEnabledState state
10979
+
10961
10980
  # Preloading status values, see also PreloadingTriggeringOutcome. This
10962
10981
  # status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
10963
10982
  type PreloadingStatus extends string
@@ -716,6 +716,10 @@ export namespace ProtocolMapping {
716
716
  * Fired when a prerender attempt is completed.
717
717
  */
718
718
  'Preload.prerenderAttemptCompleted': [Protocol.Preload.PrerenderAttemptCompletedEvent];
719
+ /**
720
+ * Fired when a preload enabled state is updated.
721
+ */
722
+ 'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
719
723
  /**
720
724
  * Fired when a prefetch attempt is updated.
721
725
  */
@@ -3966,6 +3966,11 @@ export namespace ProtocolProxyApi {
3966
3966
  */
3967
3967
  on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Preload.PrerenderAttemptCompletedEvent) => void): void;
3968
3968
 
3969
+ /**
3970
+ * Fired when a preload enabled state is updated.
3971
+ */
3972
+ on(event: 'preloadEnabledStateUpdated', listener: (params: Protocol.Preload.PreloadEnabledStateUpdatedEvent) => void): void;
3973
+
3969
3974
  /**
3970
3975
  * Fired when a prefetch attempt is updated.
3971
3976
  */
@@ -3495,7 +3495,7 @@ export namespace Protocol {
3495
3495
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3496
3496
  * all cases except for success.
3497
3497
  */
3498
- export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible');
3498
+ export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible');
3499
3499
 
3500
3500
  /**
3501
3501
  * This issue tracks client hints related issues. It's used to deprecate old
@@ -17031,6 +17031,8 @@ export namespace Protocol {
17031
17031
  */
17032
17032
  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');
17033
17033
 
17034
+ export type PreloadEnabledState = ('Enabled' | 'DisabledByDataSaver' | 'DisabledByBatterySaver' | 'DisabledByPreference' | 'NotSupported');
17035
+
17034
17036
  /**
17035
17037
  * Preloading status values, see also PreloadingTriggeringOutcome. This
17036
17038
  * status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
@@ -17066,6 +17068,13 @@ export namespace Protocol {
17066
17068
  disallowedApiMethod?: string;
17067
17069
  }
17068
17070
 
17071
+ /**
17072
+ * Fired when a preload enabled state is updated.
17073
+ */
17074
+ export interface PreloadEnabledStateUpdatedEvent {
17075
+ state: PreloadEnabledState;
17076
+ }
17077
+
17069
17078
  /**
17070
17079
  * Fired when a prefetch attempt is updated.
17071
17080
  */