devtools-protocol 0.0.1154250 → 0.0.1155343

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.
@@ -1631,6 +1631,32 @@
1631
1631
  "ThirdPartyCookiesBlocked"
1632
1632
  ]
1633
1633
  },
1634
+ {
1635
+ "id": "FederatedAuthUserInfoRequestIssueDetails",
1636
+ "type": "object",
1637
+ "properties": [
1638
+ {
1639
+ "name": "federatedAuthUserInfoRequestIssueReason",
1640
+ "$ref": "FederatedAuthUserInfoRequestIssueReason"
1641
+ }
1642
+ ]
1643
+ },
1644
+ {
1645
+ "id": "FederatedAuthUserInfoRequestIssueReason",
1646
+ "description": "Represents the failure reason when a getUserInfo() call fails.\nShould be updated alongside FederatedAuthUserInfoRequestResult in\nthird_party/blink/public/mojom/devtools/inspector_issue.mojom.",
1647
+ "type": "string",
1648
+ "enum": [
1649
+ "NotSameOrigin",
1650
+ "NotIframe",
1651
+ "NotPotentiallyTrustworthy",
1652
+ "NoApiPermission",
1653
+ "NotSignedInWithIdp",
1654
+ "NoAccountSharingPermission",
1655
+ "InvalidConfigOrWellKnown",
1656
+ "InvalidAccountsResponse",
1657
+ "NoReturningUserFromFetchedAccounts"
1658
+ ]
1659
+ },
1634
1660
  {
1635
1661
  "id": "ClientHintIssueDetails",
1636
1662
  "description": "This issue tracks client hints related issues. It's used to deprecate old\nfeatures, encourage the use of new ones, and provide general guidance.",
@@ -1714,7 +1740,8 @@
1714
1740
  "ClientHintIssue",
1715
1741
  "FederatedAuthRequestIssue",
1716
1742
  "BounceTrackingIssue",
1717
- "StylesheetLoadingIssue"
1743
+ "StylesheetLoadingIssue",
1744
+ "FederatedAuthUserInfoRequestIssue"
1718
1745
  ]
1719
1746
  },
1720
1747
  {
@@ -1806,6 +1833,11 @@
1806
1833
  "name": "stylesheetLoadingIssueDetails",
1807
1834
  "optional": true,
1808
1835
  "$ref": "StylesheetLoadingIssueDetails"
1836
+ },
1837
+ {
1838
+ "name": "federatedAuthUserInfoRequestIssueDetails",
1839
+ "optional": true,
1840
+ "$ref": "FederatedAuthUserInfoRequestIssueDetails"
1809
1841
  }
1810
1842
  ]
1811
1843
  },
@@ -14225,6 +14257,7 @@
14225
14257
  "enum": [
14226
14258
  "Ok",
14227
14259
  "InvalidArgument",
14260
+ "MissingIssuerKeys",
14228
14261
  "FailedPrecondition",
14229
14262
  "ResourceExhausted",
14230
14263
  "AlreadyExists",
@@ -15625,11 +15658,9 @@
15625
15658
  "ch-ua-platform",
15626
15659
  "ch-ua-model",
15627
15660
  "ch-ua-mobile",
15628
- "ch-ua-full",
15629
15661
  "ch-ua-full-version",
15630
15662
  "ch-ua-full-version-list",
15631
15663
  "ch-ua-platform-version",
15632
- "ch-ua-reduced",
15633
15664
  "ch-ua-wow64",
15634
15665
  "ch-viewport-height",
15635
15666
  "ch-viewport-width",
@@ -23431,7 +23462,8 @@
23431
23462
  "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation",
23432
23463
  "MemoryPressureOnTrigger",
23433
23464
  "MemoryPressureAfterTriggered",
23434
- "PrerenderingDisabledByDevTools"
23465
+ "PrerenderingDisabledByDevTools",
23466
+ "ResourceLoadBlockedByClient"
23435
23467
  ]
23436
23468
  },
23437
23469
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1154250",
3
+ "version": "0.0.1155343",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -820,6 +820,25 @@ experimental domain Audits
820
820
  SilentMediationFailure
821
821
  ThirdPartyCookiesBlocked
822
822
 
823
+ type FederatedAuthUserInfoRequestIssueDetails extends object
824
+ properties
825
+ FederatedAuthUserInfoRequestIssueReason federatedAuthUserInfoRequestIssueReason
826
+
827
+ # Represents the failure reason when a getUserInfo() call fails.
828
+ # Should be updated alongside FederatedAuthUserInfoRequestResult in
829
+ # third_party/blink/public/mojom/devtools/inspector_issue.mojom.
830
+ type FederatedAuthUserInfoRequestIssueReason extends string
831
+ enum
832
+ NotSameOrigin
833
+ NotIframe
834
+ NotPotentiallyTrustworthy
835
+ NoApiPermission
836
+ NotSignedInWithIdp
837
+ NoAccountSharingPermission
838
+ InvalidConfigOrWellKnown
839
+ InvalidAccountsResponse
840
+ NoReturningUserFromFetchedAccounts
841
+
823
842
  # This issue tracks client hints related issues. It's used to deprecate old
824
843
  # features, encourage the use of new ones, and provide general guidance.
825
844
  type ClientHintIssueDetails extends object
@@ -871,6 +890,7 @@ experimental domain Audits
871
890
  FederatedAuthRequestIssue
872
891
  BounceTrackingIssue
873
892
  StylesheetLoadingIssue
893
+ FederatedAuthUserInfoRequestIssue
874
894
 
875
895
  # This struct holds a list of optional fields with additional information
876
896
  # specific to the kind of issue. When adding a new issue code, please also
@@ -894,6 +914,7 @@ experimental domain Audits
894
914
  optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
895
915
  optional BounceTrackingIssueDetails bounceTrackingIssueDetails
896
916
  optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
917
+ optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
897
918
 
898
919
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
899
920
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -6493,6 +6514,7 @@ domain Network
6493
6514
  enum status
6494
6515
  Ok
6495
6516
  InvalidArgument
6517
+ MissingIssuerKeys
6496
6518
  FailedPrecondition
6497
6519
  ResourceExhausted
6498
6520
  AlreadyExists
@@ -7279,11 +7301,9 @@ domain Page
7279
7301
  ch-ua-platform
7280
7302
  ch-ua-model
7281
7303
  ch-ua-mobile
7282
- ch-ua-full
7283
7304
  ch-ua-full-version
7284
7305
  ch-ua-full-version-list
7285
7306
  ch-ua-platform-version
7286
- ch-ua-reduced
7287
7307
  ch-ua-wow64
7288
7308
  ch-viewport-height
7289
7309
  ch-viewport-width
@@ -11087,6 +11107,7 @@ experimental domain Preload
11087
11107
  MemoryPressureOnTrigger
11088
11108
  MemoryPressureAfterTriggered
11089
11109
  PrerenderingDisabledByDevTools
11110
+ ResourceLoadBlockedByClient
11090
11111
 
11091
11112
  # Fired when a prerender attempt is completed.
11092
11113
  event prerenderAttemptCompleted
@@ -3522,6 +3522,17 @@ export namespace Protocol {
3522
3522
  */
3523
3523
  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' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked');
3524
3524
 
3525
+ export interface FederatedAuthUserInfoRequestIssueDetails {
3526
+ federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
3527
+ }
3528
+
3529
+ /**
3530
+ * Represents the failure reason when a getUserInfo() call fails.
3531
+ * Should be updated alongside FederatedAuthUserInfoRequestResult in
3532
+ * third_party/blink/public/mojom/devtools/inspector_issue.mojom.
3533
+ */
3534
+ export type FederatedAuthUserInfoRequestIssueReason = ('NotSameOrigin' | 'NotIframe' | 'NotPotentiallyTrustworthy' | 'NoApiPermission' | 'NotSignedInWithIdp' | 'NoAccountSharingPermission' | 'InvalidConfigOrWellKnown' | 'InvalidAccountsResponse' | 'NoReturningUserFromFetchedAccounts');
3535
+
3525
3536
  /**
3526
3537
  * This issue tracks client hints related issues. It's used to deprecate old
3527
3538
  * features, encourage the use of new ones, and provide general guidance.
@@ -3567,7 +3578,7 @@ export namespace Protocol {
3567
3578
  * optional fields in InspectorIssueDetails to convey more specific
3568
3579
  * information about the kind of issue.
3569
3580
  */
3570
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue');
3581
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue');
3571
3582
 
3572
3583
  /**
3573
3584
  * This struct holds a list of optional fields with additional information
@@ -3592,6 +3603,7 @@ export namespace Protocol {
3592
3603
  federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
3593
3604
  bounceTrackingIssueDetails?: BounceTrackingIssueDetails;
3594
3605
  stylesheetLoadingIssueDetails?: StylesheetLoadingIssueDetails;
3606
+ federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
3595
3607
  }
3596
3608
 
3597
3609
  /**
@@ -11692,6 +11704,7 @@ export namespace Protocol {
11692
11704
  export const enum TrustTokenOperationDoneEventStatus {
11693
11705
  Ok = 'Ok',
11694
11706
  InvalidArgument = 'InvalidArgument',
11707
+ MissingIssuerKeys = 'MissingIssuerKeys',
11695
11708
  FailedPrecondition = 'FailedPrecondition',
11696
11709
  ResourceExhausted = 'ResourceExhausted',
11697
11710
  AlreadyExists = 'AlreadyExists',
@@ -11716,7 +11729,7 @@ export namespace Protocol {
11716
11729
  * of the operation already exists und thus, the operation was abort
11717
11730
  * preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
11718
11731
  */
11719
- status: ('Ok' | 'InvalidArgument' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'Unavailable' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
11732
+ status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'Unavailable' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
11720
11733
  type: TrustTokenOperationType;
11721
11734
  requestId: RequestId;
11722
11735
  /**
@@ -12595,7 +12608,7 @@ export namespace Protocol {
12595
12608
  * All Permissions Policy features. This enum should match the one defined
12596
12609
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12597
12610
  */
12598
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12611
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12599
12612
 
12600
12613
  /**
12601
12614
  * Reason for a permissions policy feature to be disabled.
@@ -17254,7 +17267,7 @@ export namespace Protocol {
17254
17267
  /**
17255
17268
  * List of FinalStatus reasons for Prerender2.
17256
17269
  */
17257
- 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' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools');
17270
+ 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' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'ResourceLoadBlockedByClient');
17258
17271
 
17259
17272
  /**
17260
17273
  * Preloading status values, see also PreloadingTriggeringOutcome. This