devtools-protocol 0.0.946693 → 0.0.952091

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.
@@ -1450,7 +1450,12 @@
1450
1450
  "AttributionSourceUntrustworthyOrigin",
1451
1451
  "AttributionUntrustworthyOrigin",
1452
1452
  "AttributionTriggerDataTooLarge",
1453
- "AttributionEventSourceTriggerDataTooLarge"
1453
+ "AttributionEventSourceTriggerDataTooLarge",
1454
+ "InvalidAttributionSourceExpiry",
1455
+ "InvalidAttributionSourcePriority",
1456
+ "InvalidEventSourceTriggerData",
1457
+ "InvalidTriggerPriority",
1458
+ "InvalidTriggerDedupKey"
1454
1459
  ]
1455
1460
  },
1456
1461
  {
@@ -1596,6 +1601,29 @@
1596
1601
  }
1597
1602
  ]
1598
1603
  },
1604
+ {
1605
+ "id": "ClientHintIssueReason",
1606
+ "type": "string",
1607
+ "enum": [
1608
+ "MetaTagAllowListInvalidOrigin",
1609
+ "MetaTagModifiedHTML"
1610
+ ]
1611
+ },
1612
+ {
1613
+ "id": "ClientHintIssueDetails",
1614
+ "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.",
1615
+ "type": "object",
1616
+ "properties": [
1617
+ {
1618
+ "name": "sourceCodeLocation",
1619
+ "$ref": "SourceCodeLocation"
1620
+ },
1621
+ {
1622
+ "name": "clientHintIssueReason",
1623
+ "$ref": "ClientHintIssueReason"
1624
+ }
1625
+ ]
1626
+ },
1599
1627
  {
1600
1628
  "id": "InspectorIssueCode",
1601
1629
  "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
@@ -1615,7 +1643,8 @@
1615
1643
  "NavigatorUserAgentIssue",
1616
1644
  "WasmCrossOriginModuleSharingIssue",
1617
1645
  "GenericIssue",
1618
- "DeprecationIssue"
1646
+ "DeprecationIssue",
1647
+ "ClientHintIssue"
1619
1648
  ]
1620
1649
  },
1621
1650
  {
@@ -1697,6 +1726,11 @@
1697
1726
  "name": "deprecationIssueDetails",
1698
1727
  "optional": true,
1699
1728
  "$ref": "DeprecationIssueDetails"
1729
+ },
1730
+ {
1731
+ "name": "clientHintIssueDetails",
1732
+ "optional": true,
1733
+ "$ref": "ClientHintIssueDetails"
1700
1734
  }
1701
1735
  ]
1702
1736
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.946693",
3
+ "version": "0.0.952091",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -703,6 +703,11 @@ experimental domain Audits
703
703
  AttributionUntrustworthyOrigin
704
704
  AttributionTriggerDataTooLarge
705
705
  AttributionEventSourceTriggerDataTooLarge
706
+ InvalidAttributionSourceExpiry
707
+ InvalidAttributionSourcePriority
708
+ InvalidEventSourceTriggerData
709
+ InvalidTriggerPriority
710
+ InvalidTriggerDedupKey
706
711
 
707
712
  # Details for issues around "Attribution Reporting API" usage.
708
713
  # Explainer: https://github.com/WICG/conversion-measurement-api
@@ -765,6 +770,22 @@ experimental domain Audits
765
770
  # https://www.chromestatus.com/feature/5684870116278272 for more details."
766
771
  deprecated optional string message
767
772
 
773
+ type ClientHintIssueReason extends string
774
+ enum
775
+ # Items in the accept-ch meta tag allow list must be valid origins.
776
+ # No special values (e.g. self, none, and *) are permitted.
777
+ MetaTagAllowListInvalidOrigin
778
+ # Only accept-ch meta tags in the original HTML sent from the server
779
+ # are respected. Any injected via javascript (or other means) are ignored.
780
+ MetaTagModifiedHTML
781
+
782
+ # This issue tracks client hints related issues. It's used to deprecate old
783
+ # features, encourage the use of new ones, and provide general guidance.
784
+ type ClientHintIssueDetails extends object
785
+ properties
786
+ SourceCodeLocation sourceCodeLocation
787
+ ClientHintIssueReason clientHintIssueReason
788
+
768
789
  # A unique identifier for the type of issue. Each type may use one of the
769
790
  # optional fields in InspectorIssueDetails to convey more specific
770
791
  # information about the kind of issue.
@@ -785,6 +806,7 @@ experimental domain Audits
785
806
  WasmCrossOriginModuleSharingIssue
786
807
  GenericIssue
787
808
  DeprecationIssue
809
+ ClientHintIssue
788
810
 
789
811
  # This struct holds a list of optional fields with additional information
790
812
  # specific to the kind of issue. When adding a new issue code, please also
@@ -806,6 +828,7 @@ experimental domain Audits
806
828
  optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue
807
829
  optional GenericIssueDetails genericIssueDetails
808
830
  optional DeprecationIssueDetails deprecationIssueDetails
831
+ optional ClientHintIssueDetails clientHintIssueDetails
809
832
 
810
833
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
811
834
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -3261,7 +3261,7 @@ export namespace Protocol {
3261
3261
  clientSecurityState?: Network.ClientSecurityState;
3262
3262
  }
3263
3263
 
3264
- export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'InvalidAttributionSourceEventId' | 'InvalidAttributionData' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'AttributionTriggerDataTooLarge' | 'AttributionEventSourceTriggerDataTooLarge');
3264
+ export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'InvalidAttributionSourceEventId' | 'InvalidAttributionData' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'AttributionTriggerDataTooLarge' | 'AttributionEventSourceTriggerDataTooLarge' | 'InvalidAttributionSourceExpiry' | 'InvalidAttributionSourcePriority' | 'InvalidEventSourceTriggerData' | 'InvalidTriggerPriority' | 'InvalidTriggerDedupKey');
3265
3265
 
3266
3266
  /**
3267
3267
  * Details for issues around "Attribution Reporting API" usage.
@@ -3336,12 +3336,23 @@ export namespace Protocol {
3336
3336
  message?: string;
3337
3337
  }
3338
3338
 
3339
+ export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
3340
+
3341
+ /**
3342
+ * This issue tracks client hints related issues. It's used to deprecate old
3343
+ * features, encourage the use of new ones, and provide general guidance.
3344
+ */
3345
+ export interface ClientHintIssueDetails {
3346
+ sourceCodeLocation: SourceCodeLocation;
3347
+ clientHintIssueReason: ClientHintIssueReason;
3348
+ }
3349
+
3339
3350
  /**
3340
3351
  * A unique identifier for the type of issue. Each type may use one of the
3341
3352
  * optional fields in InspectorIssueDetails to convey more specific
3342
3353
  * information about the kind of issue.
3343
3354
  */
3344
- export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue' | 'GenericIssue' | 'DeprecationIssue');
3355
+ export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue');
3345
3356
 
3346
3357
  /**
3347
3358
  * This struct holds a list of optional fields with additional information
@@ -3364,6 +3375,7 @@ export namespace Protocol {
3364
3375
  wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
3365
3376
  genericIssueDetails?: GenericIssueDetails;
3366
3377
  deprecationIssueDetails?: DeprecationIssueDetails;
3378
+ clientHintIssueDetails?: ClientHintIssueDetails;
3367
3379
  }
3368
3380
 
3369
3381
  /**