devtools-protocol 0.0.963632 → 0.0.964215

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.
@@ -1591,6 +1591,42 @@
1591
1591
  "MetaTagModifiedHTML"
1592
1592
  ]
1593
1593
  },
1594
+ {
1595
+ "id": "FederatedAuthRequestIssueDetails",
1596
+ "type": "object",
1597
+ "properties": [
1598
+ {
1599
+ "name": "federatedAuthRequestIssueReason",
1600
+ "$ref": "FederatedAuthRequestIssueReason"
1601
+ }
1602
+ ]
1603
+ },
1604
+ {
1605
+ "id": "FederatedAuthRequestIssueReason",
1606
+ "description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/webid/federated_auth_request.mojom to include\nall cases except for success.",
1607
+ "type": "string",
1608
+ "enum": [
1609
+ "ApprovalDeclined",
1610
+ "TooManyRequests",
1611
+ "WellKnownHttpNotFound",
1612
+ "WellKnownNoResponse",
1613
+ "WellKnownInvalidResponse",
1614
+ "ClientIdMetadataHttpNotFound",
1615
+ "ClientIdMetadataNoResponse",
1616
+ "ClientIdMetadataInvalidResponse",
1617
+ "ErrorFetchingSignin",
1618
+ "InvalidSigninResponse",
1619
+ "AccountsHttpNotFound",
1620
+ "AccountsNoResponse",
1621
+ "AccountsInvalidResponse",
1622
+ "IdTokenHttpNotFound",
1623
+ "IdTokenNoResponse",
1624
+ "IdTokenInvalidResponse",
1625
+ "IdTokenInvalidRequest",
1626
+ "ErrorIdToken",
1627
+ "Canceled"
1628
+ ]
1629
+ },
1594
1630
  {
1595
1631
  "id": "ClientHintIssueDetails",
1596
1632
  "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.",
@@ -1625,7 +1661,8 @@
1625
1661
  "NavigatorUserAgentIssue",
1626
1662
  "GenericIssue",
1627
1663
  "DeprecationIssue",
1628
- "ClientHintIssue"
1664
+ "ClientHintIssue",
1665
+ "FederatedAuthRequestIssue"
1629
1666
  ]
1630
1667
  },
1631
1668
  {
@@ -1707,6 +1744,11 @@
1707
1744
  "name": "clientHintIssueDetails",
1708
1745
  "optional": true,
1709
1746
  "$ref": "ClientHintIssueDetails"
1747
+ },
1748
+ {
1749
+ "name": "federatedAuthRequestIssueDetails",
1750
+ "optional": true,
1751
+ "$ref": "FederatedAuthRequestIssueDetails"
1710
1752
  }
1711
1753
  ]
1712
1754
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.963632",
3
+ "version": "0.0.964215",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -773,6 +773,36 @@ experimental domain Audits
773
773
  # are respected. Any injected via javascript (or other means) are ignored.
774
774
  MetaTagModifiedHTML
775
775
 
776
+ type FederatedAuthRequestIssueDetails extends object
777
+ properties
778
+ FederatedAuthRequestIssueReason federatedAuthRequestIssueReason
779
+
780
+ # Represents the failure reason when a federated authentication reason fails.
781
+ # Should be updated alongside RequestIdTokenStatus in
782
+ # third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
783
+ # all cases except for success.
784
+ type FederatedAuthRequestIssueReason extends string
785
+ enum
786
+ ApprovalDeclined
787
+ TooManyRequests
788
+ WellKnownHttpNotFound
789
+ WellKnownNoResponse
790
+ WellKnownInvalidResponse
791
+ ClientIdMetadataHttpNotFound
792
+ ClientIdMetadataNoResponse
793
+ ClientIdMetadataInvalidResponse
794
+ ErrorFetchingSignin
795
+ InvalidSigninResponse
796
+ AccountsHttpNotFound
797
+ AccountsNoResponse
798
+ AccountsInvalidResponse
799
+ IdTokenHttpNotFound
800
+ IdTokenNoResponse
801
+ IdTokenInvalidResponse
802
+ IdTokenInvalidRequest
803
+ ErrorIdToken
804
+ Canceled
805
+
776
806
  # This issue tracks client hints related issues. It's used to deprecate old
777
807
  # features, encourage the use of new ones, and provide general guidance.
778
808
  type ClientHintIssueDetails extends object
@@ -800,6 +830,7 @@ experimental domain Audits
800
830
  GenericIssue
801
831
  DeprecationIssue
802
832
  ClientHintIssue
833
+ FederatedAuthRequestIssue
803
834
 
804
835
  # This struct holds a list of optional fields with additional information
805
836
  # specific to the kind of issue. When adding a new issue code, please also
@@ -821,6 +852,7 @@ experimental domain Audits
821
852
  optional GenericIssueDetails genericIssueDetails
822
853
  optional DeprecationIssueDetails deprecationIssueDetails
823
854
  optional ClientHintIssueDetails clientHintIssueDetails
855
+ optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
824
856
 
825
857
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
826
858
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -3332,6 +3332,18 @@ export namespace Protocol {
3332
3332
 
3333
3333
  export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
3334
3334
 
3335
+ export interface FederatedAuthRequestIssueDetails {
3336
+ federatedAuthRequestIssueReason: FederatedAuthRequestIssueReason;
3337
+ }
3338
+
3339
+ /**
3340
+ * Represents the failure reason when a federated authentication reason fails.
3341
+ * Should be updated alongside RequestIdTokenStatus in
3342
+ * third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
3343
+ * all cases except for success.
3344
+ */
3345
+ export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'ClientIdMetadataHttpNotFound' | 'ClientIdMetadataNoResponse' | 'ClientIdMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
3346
+
3335
3347
  /**
3336
3348
  * This issue tracks client hints related issues. It's used to deprecate old
3337
3349
  * features, encourage the use of new ones, and provide general guidance.
@@ -3346,7 +3358,7 @@ export namespace Protocol {
3346
3358
  * optional fields in InspectorIssueDetails to convey more specific
3347
3359
  * information about the kind of issue.
3348
3360
  */
3349
- export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue');
3361
+ export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue');
3350
3362
 
3351
3363
  /**
3352
3364
  * This struct holds a list of optional fields with additional information
@@ -3369,6 +3381,7 @@ export namespace Protocol {
3369
3381
  genericIssueDetails?: GenericIssueDetails;
3370
3382
  deprecationIssueDetails?: DeprecationIssueDetails;
3371
3383
  clientHintIssueDetails?: ClientHintIssueDetails;
3384
+ federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
3372
3385
  }
3373
3386
 
3374
3387
  /**