devtools-protocol 0.0.948846 → 0.0.953906

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.
@@ -1601,6 +1601,29 @@
1601
1601
  }
1602
1602
  ]
1603
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
+ },
1604
1627
  {
1605
1628
  "id": "InspectorIssueCode",
1606
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.",
@@ -1620,7 +1643,8 @@
1620
1643
  "NavigatorUserAgentIssue",
1621
1644
  "WasmCrossOriginModuleSharingIssue",
1622
1645
  "GenericIssue",
1623
- "DeprecationIssue"
1646
+ "DeprecationIssue",
1647
+ "ClientHintIssue"
1624
1648
  ]
1625
1649
  },
1626
1650
  {
@@ -1702,6 +1726,11 @@
1702
1726
  "name": "deprecationIssueDetails",
1703
1727
  "optional": true,
1704
1728
  "$ref": "DeprecationIssueDetails"
1729
+ },
1730
+ {
1731
+ "name": "clientHintIssueDetails",
1732
+ "optional": true,
1733
+ "$ref": "ClientHintIssueDetails"
1705
1734
  }
1706
1735
  ]
1707
1736
  },
@@ -4326,7 +4355,11 @@
4326
4355
  "scrollbar-track-piece",
4327
4356
  "scrollbar-corner",
4328
4357
  "resizer",
4329
- "input-list-button"
4358
+ "input-list-button",
4359
+ "transition",
4360
+ "transition-container",
4361
+ "transition-old-content",
4362
+ "transition-new-content"
4330
4363
  ]
4331
4364
  },
4332
4365
  {
@@ -15689,6 +15722,34 @@
15689
15722
  "$ref": "BackForwardCacheNotRestoredReason"
15690
15723
  }
15691
15724
  ]
15725
+ },
15726
+ {
15727
+ "id": "BackForwardCacheNotRestoredExplanationTree",
15728
+ "experimental": true,
15729
+ "type": "object",
15730
+ "properties": [
15731
+ {
15732
+ "name": "url",
15733
+ "description": "URL of each frame",
15734
+ "type": "string"
15735
+ },
15736
+ {
15737
+ "name": "explanations",
15738
+ "description": "Not restored reasons of each frame",
15739
+ "type": "array",
15740
+ "items": {
15741
+ "$ref": "BackForwardCacheNotRestoredExplanation"
15742
+ }
15743
+ },
15744
+ {
15745
+ "name": "children",
15746
+ "description": "Array of children frame",
15747
+ "type": "array",
15748
+ "items": {
15749
+ "$ref": "BackForwardCacheNotRestoredExplanationTree"
15750
+ }
15751
+ }
15752
+ ]
15692
15753
  }
15693
15754
  ],
15694
15755
  "commands": [
@@ -17217,6 +17278,12 @@
17217
17278
  "items": {
17218
17279
  "$ref": "BackForwardCacheNotRestoredExplanation"
17219
17280
  }
17281
+ },
17282
+ {
17283
+ "name": "notRestoredExplanationsTree",
17284
+ "description": "Tree structure of reasons why the page could not be cached for each frame.",
17285
+ "optional": true,
17286
+ "$ref": "BackForwardCacheNotRestoredExplanationTree"
17220
17287
  }
17221
17288
  ]
17222
17289
  },
@@ -20817,6 +20884,12 @@
20817
20884
  "optional": true,
20818
20885
  "type": "boolean"
20819
20886
  },
20887
+ {
20888
+ "name": "hasMinPinLength",
20889
+ "description": "If set to true, the authenticator will support the minPinLength extension.\nhttps://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension\nDefaults to false.",
20890
+ "optional": true,
20891
+ "type": "boolean"
20892
+ },
20820
20893
  {
20821
20894
  "name": "automaticPresenceSimulation",
20822
20895
  "description": "If set to true, tests of user presence will succeed immediately.\nOtherwise, they will not be resolved. Defaults to true.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.948846",
3
+ "version": "0.0.953906",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -770,6 +770,22 @@ experimental domain Audits
770
770
  # https://www.chromestatus.com/feature/5684870116278272 for more details."
771
771
  deprecated optional string message
772
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
+
773
789
  # A unique identifier for the type of issue. Each type may use one of the
774
790
  # optional fields in InspectorIssueDetails to convey more specific
775
791
  # information about the kind of issue.
@@ -790,6 +806,7 @@ experimental domain Audits
790
806
  WasmCrossOriginModuleSharingIssue
791
807
  GenericIssue
792
808
  DeprecationIssue
809
+ ClientHintIssue
793
810
 
794
811
  # This struct holds a list of optional fields with additional information
795
812
  # specific to the kind of issue. When adding a new issue code, please also
@@ -811,6 +828,7 @@ experimental domain Audits
811
828
  optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue
812
829
  optional GenericIssueDetails genericIssueDetails
813
830
  optional DeprecationIssueDetails deprecationIssueDetails
831
+ optional ClientHintIssueDetails clientHintIssueDetails
814
832
 
815
833
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
816
834
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -2031,6 +2049,10 @@ domain DOM
2031
2049
  scrollbar-corner
2032
2050
  resizer
2033
2051
  input-list-button
2052
+ transition
2053
+ transition-container
2054
+ transition-old-content
2055
+ transition-new-content
2034
2056
 
2035
2057
  # Shadow root type.
2036
2058
  type ShadowRootType extends string
@@ -8078,6 +8100,15 @@ domain Page
8078
8100
  # Not restored reason
8079
8101
  BackForwardCacheNotRestoredReason reason
8080
8102
 
8103
+ experimental type BackForwardCacheNotRestoredExplanationTree extends object
8104
+ properties
8105
+ # URL of each frame
8106
+ string url
8107
+ # Not restored reasons of each frame
8108
+ array of BackForwardCacheNotRestoredExplanation explanations
8109
+ # Array of children frame
8110
+ array of BackForwardCacheNotRestoredExplanationTree children
8111
+
8081
8112
  # Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do
8082
8113
  # not assume any ordering with the Page.frameNavigated event. This event is fired only for
8083
8114
  # main-frame history navigation where the document changes (non-same-document navigations),
@@ -8090,6 +8121,8 @@ domain Page
8090
8121
  FrameId frameId
8091
8122
  # Array of reasons why the page could not be cached. This must not be empty.
8092
8123
  array of BackForwardCacheNotRestoredExplanation notRestoredExplanations
8124
+ # Tree structure of reasons why the page could not be cached for each frame.
8125
+ optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
8093
8126
 
8094
8127
  event loadEventFired
8095
8128
  parameters
@@ -9762,6 +9795,10 @@ experimental domain WebAuthn
9762
9795
  # https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension
9763
9796
  # Defaults to false.
9764
9797
  optional boolean hasCredBlob
9798
+ # If set to true, the authenticator will support the minPinLength extension.
9799
+ # https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension
9800
+ # Defaults to false.
9801
+ optional boolean hasMinPinLength
9765
9802
  # If set to true, tests of user presence will succeed immediately.
9766
9803
  # Otherwise, they will not be resolved. Defaults to true.
9767
9804
  optional boolean automaticPresenceSimulation
@@ -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.
@@ -12375,6 +12387,21 @@ export namespace Protocol {
12375
12387
  reason: BackForwardCacheNotRestoredReason;
12376
12388
  }
12377
12389
 
12390
+ export interface BackForwardCacheNotRestoredExplanationTree {
12391
+ /**
12392
+ * URL of each frame
12393
+ */
12394
+ url: string;
12395
+ /**
12396
+ * Not restored reasons of each frame
12397
+ */
12398
+ explanations: BackForwardCacheNotRestoredExplanation[];
12399
+ /**
12400
+ * Array of children frame
12401
+ */
12402
+ children: BackForwardCacheNotRestoredExplanationTree[];
12403
+ }
12404
+
12378
12405
  export interface AddScriptToEvaluateOnLoadRequest {
12379
12406
  scriptSource: string;
12380
12407
  }
@@ -13370,6 +13397,10 @@ export namespace Protocol {
13370
13397
  * Array of reasons why the page could not be cached. This must not be empty.
13371
13398
  */
13372
13399
  notRestoredExplanations: BackForwardCacheNotRestoredExplanation[];
13400
+ /**
13401
+ * Tree structure of reasons why the page could not be cached for each frame.
13402
+ */
13403
+ notRestoredExplanationsTree?: BackForwardCacheNotRestoredExplanationTree;
13373
13404
  }
13374
13405
 
13375
13406
  export interface LoadEventFiredEvent {
@@ -15616,6 +15647,12 @@ export namespace Protocol {
15616
15647
  * Defaults to false.
15617
15648
  */
15618
15649
  hasCredBlob?: boolean;
15650
+ /**
15651
+ * If set to true, the authenticator will support the minPinLength extension.
15652
+ * https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension
15653
+ * Defaults to false.
15654
+ */
15655
+ hasMinPinLength?: boolean;
15619
15656
  /**
15620
15657
  * If set to true, tests of user presence will succeed immediately.
15621
15658
  * Otherwise, they will not be resolved. Defaults to true.