devtools-protocol 0.0.963632 → 0.0.966116

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
  },
@@ -2831,6 +2873,16 @@
2831
2873
  "items": {
2832
2874
  "$ref": "CSSContainerQuery"
2833
2875
  }
2876
+ },
2877
+ {
2878
+ "name": "supports",
2879
+ "description": "@supports CSS at-rule array.\nThe array enumerates @supports at-rules starting with the innermost one, going outwards.",
2880
+ "experimental": true,
2881
+ "optional": true,
2882
+ "type": "array",
2883
+ "items": {
2884
+ "$ref": "CSSSupports"
2885
+ }
2834
2886
  }
2835
2887
  ]
2836
2888
  },
@@ -3155,6 +3207,31 @@
3155
3207
  }
3156
3208
  ]
3157
3209
  },
3210
+ {
3211
+ "id": "CSSSupports",
3212
+ "description": "CSS Supports at-rule descriptor.",
3213
+ "experimental": true,
3214
+ "type": "object",
3215
+ "properties": [
3216
+ {
3217
+ "name": "text",
3218
+ "description": "Supports rule text.",
3219
+ "type": "string"
3220
+ },
3221
+ {
3222
+ "name": "range",
3223
+ "description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
3224
+ "optional": true,
3225
+ "$ref": "SourceRange"
3226
+ },
3227
+ {
3228
+ "name": "styleSheetId",
3229
+ "description": "Identifier of the stylesheet containing this object (if exists).",
3230
+ "optional": true,
3231
+ "$ref": "StyleSheetId"
3232
+ }
3233
+ ]
3234
+ },
3158
3235
  {
3159
3236
  "id": "PlatformFontUsage",
3160
3237
  "description": "Information about amount of glyphs that were rendered with given font.",
@@ -14724,6 +14801,7 @@
14724
14801
  "ch-ua-full-version-list",
14725
14802
  "ch-ua-platform-version",
14726
14803
  "ch-ua-reduced",
14804
+ "ch-ua-wow64",
14727
14805
  "ch-viewport-height",
14728
14806
  "ch-viewport-width",
14729
14807
  "ch-width",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.963632",
3
+ "version": "0.0.966116",
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.
@@ -1354,6 +1386,9 @@ experimental domain CSS
1354
1386
  # Container query list array (for rules involving container queries).
1355
1387
  # The array enumerates container queries starting with the innermost one, going outwards.
1356
1388
  experimental optional array of CSSContainerQuery containerQueries
1389
+ # @supports CSS at-rule array.
1390
+ # The array enumerates @supports at-rules starting with the innermost one, going outwards.
1391
+ experimental optional array of CSSSupports supports
1357
1392
 
1358
1393
  # CSS coverage information.
1359
1394
  type RuleUsage extends object
@@ -1490,6 +1525,17 @@ experimental domain CSS
1490
1525
  # Optional name for the container.
1491
1526
  optional string name
1492
1527
 
1528
+ # CSS Supports at-rule descriptor.
1529
+ experimental type CSSSupports extends object
1530
+ properties
1531
+ # Supports rule text.
1532
+ string text
1533
+ # The associated rule header range in the enclosing stylesheet (if
1534
+ # available).
1535
+ optional SourceRange range
1536
+ # Identifier of the stylesheet containing this object (if exists).
1537
+ optional StyleSheetId styleSheetId
1538
+
1493
1539
  # Information about amount of glyphs that were rendered with given font.
1494
1540
  type PlatformFontUsage extends object
1495
1541
  properties
@@ -6849,6 +6895,7 @@ domain Page
6849
6895
  ch-ua-full-version-list
6850
6896
  ch-ua-platform-version
6851
6897
  ch-ua-reduced
6898
+ ch-ua-wow64
6852
6899
  ch-viewport-height
6853
6900
  ch-viewport-width
6854
6901
  ch-width
@@ -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
  /**
@@ -4101,6 +4114,11 @@ export namespace Protocol {
4101
4114
  * The array enumerates container queries starting with the innermost one, going outwards.
4102
4115
  */
4103
4116
  containerQueries?: CSSContainerQuery[];
4117
+ /**
4118
+ * @supports CSS at-rule array.
4119
+ * The array enumerates @supports at-rules starting with the innermost one, going outwards.
4120
+ */
4121
+ supports?: CSSSupports[];
4104
4122
  }
4105
4123
 
4106
4124
  /**
@@ -4343,6 +4361,25 @@ export namespace Protocol {
4343
4361
  name?: string;
4344
4362
  }
4345
4363
 
4364
+ /**
4365
+ * CSS Supports at-rule descriptor.
4366
+ */
4367
+ export interface CSSSupports {
4368
+ /**
4369
+ * Supports rule text.
4370
+ */
4371
+ text: string;
4372
+ /**
4373
+ * The associated rule header range in the enclosing stylesheet (if
4374
+ * available).
4375
+ */
4376
+ range?: SourceRange;
4377
+ /**
4378
+ * Identifier of the stylesheet containing this object (if exists).
4379
+ */
4380
+ styleSheetId?: StyleSheetId;
4381
+ }
4382
+
4346
4383
  /**
4347
4384
  * Information about amount of glyphs that were rendered with given font.
4348
4385
  */
@@ -11889,7 +11926,7 @@ export namespace Protocol {
11889
11926
  * All Permissions Policy features. This enum should match the one defined
11890
11927
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11891
11928
  */
11892
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | '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-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | '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' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
11929
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | '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' | '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' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
11893
11930
 
11894
11931
  /**
11895
11932
  * Reason for a permissions policy feature to be disabled.