devtools-protocol 0.0.947303 → 0.0.952438

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.
@@ -1452,7 +1452,10 @@
1452
1452
  "AttributionTriggerDataTooLarge",
1453
1453
  "AttributionEventSourceTriggerDataTooLarge",
1454
1454
  "InvalidAttributionSourceExpiry",
1455
- "InvalidAttributionSourcePriority"
1455
+ "InvalidAttributionSourcePriority",
1456
+ "InvalidEventSourceTriggerData",
1457
+ "InvalidTriggerPriority",
1458
+ "InvalidTriggerDedupKey"
1456
1459
  ]
1457
1460
  },
1458
1461
  {
@@ -1598,6 +1601,29 @@
1598
1601
  }
1599
1602
  ]
1600
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
+ },
1601
1627
  {
1602
1628
  "id": "InspectorIssueCode",
1603
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.",
@@ -1617,7 +1643,8 @@
1617
1643
  "NavigatorUserAgentIssue",
1618
1644
  "WasmCrossOriginModuleSharingIssue",
1619
1645
  "GenericIssue",
1620
- "DeprecationIssue"
1646
+ "DeprecationIssue",
1647
+ "ClientHintIssue"
1621
1648
  ]
1622
1649
  },
1623
1650
  {
@@ -1699,6 +1726,11 @@
1699
1726
  "name": "deprecationIssueDetails",
1700
1727
  "optional": true,
1701
1728
  "$ref": "DeprecationIssueDetails"
1729
+ },
1730
+ {
1731
+ "name": "clientHintIssueDetails",
1732
+ "optional": true,
1733
+ "$ref": "ClientHintIssueDetails"
1702
1734
  }
1703
1735
  ]
1704
1736
  },
@@ -4323,7 +4355,11 @@
4323
4355
  "scrollbar-track-piece",
4324
4356
  "scrollbar-corner",
4325
4357
  "resizer",
4326
- "input-list-button"
4358
+ "input-list-button",
4359
+ "transition",
4360
+ "transition-container",
4361
+ "transition-old-content",
4362
+ "transition-new-content"
4327
4363
  ]
4328
4364
  },
4329
4365
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.947303",
3
+ "version": "0.0.952438",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -705,6 +705,9 @@ experimental domain Audits
705
705
  AttributionEventSourceTriggerDataTooLarge
706
706
  InvalidAttributionSourceExpiry
707
707
  InvalidAttributionSourcePriority
708
+ InvalidEventSourceTriggerData
709
+ InvalidTriggerPriority
710
+ InvalidTriggerDedupKey
708
711
 
709
712
  # Details for issues around "Attribution Reporting API" usage.
710
713
  # Explainer: https://github.com/WICG/conversion-measurement-api
@@ -767,6 +770,22 @@ experimental domain Audits
767
770
  # https://www.chromestatus.com/feature/5684870116278272 for more details."
768
771
  deprecated optional string message
769
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
+
770
789
  # A unique identifier for the type of issue. Each type may use one of the
771
790
  # optional fields in InspectorIssueDetails to convey more specific
772
791
  # information about the kind of issue.
@@ -787,6 +806,7 @@ experimental domain Audits
787
806
  WasmCrossOriginModuleSharingIssue
788
807
  GenericIssue
789
808
  DeprecationIssue
809
+ ClientHintIssue
790
810
 
791
811
  # This struct holds a list of optional fields with additional information
792
812
  # specific to the kind of issue. When adding a new issue code, please also
@@ -808,6 +828,7 @@ experimental domain Audits
808
828
  optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue
809
829
  optional GenericIssueDetails genericIssueDetails
810
830
  optional DeprecationIssueDetails deprecationIssueDetails
831
+ optional ClientHintIssueDetails clientHintIssueDetails
811
832
 
812
833
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
813
834
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -2028,6 +2049,10 @@ domain DOM
2028
2049
  scrollbar-corner
2029
2050
  resizer
2030
2051
  input-list-button
2052
+ transition
2053
+ transition-container
2054
+ transition-old-content
2055
+ transition-new-content
2031
2056
 
2032
2057
  # Shadow root type.
2033
2058
  type ShadowRootType extends string
@@ -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' | 'InvalidAttributionSourceExpiry' | 'InvalidAttributionSourcePriority');
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
  /**
@@ -5063,7 +5075,7 @@ export namespace Protocol {
5063
5075
  /**
5064
5076
  * Pseudo element type.
5065
5077
  */
5066
- export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button');
5078
+ export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'transition' | 'transition-container' | 'transition-old-content' | 'transition-new-content');
5067
5079
 
5068
5080
  /**
5069
5081
  * Shadow root type.