devtools-protocol 0.0.1376096 → 0.0.1377232

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.
@@ -210,6 +210,7 @@
210
210
  "description": "Values of AXProperty name:\n- from 'busy' to 'roledescription': states which apply to every AX node\n- from 'live' to 'root': attributes which apply to nodes in live regions\n- from 'autocomplete' to 'valuetext': attributes which apply to widgets\n- from 'checked' to 'selected': states which apply to widgets\n- from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.",
211
211
  "type": "string",
212
212
  "enum": [
213
+ "actions",
213
214
  "busy",
214
215
  "disabled",
215
216
  "editable",
@@ -1048,7 +1049,9 @@
1048
1049
  "ExcludeSamePartyCrossPartyContext",
1049
1050
  "ExcludeDomainNonASCII",
1050
1051
  "ExcludeThirdPartyCookieBlockedInFirstPartySet",
1051
- "ExcludeThirdPartyPhaseout"
1052
+ "ExcludeThirdPartyPhaseout",
1053
+ "ExcludePortMismatch",
1054
+ "ExcludeSchemeMismatch"
1052
1055
  ]
1053
1056
  },
1054
1057
  {
@@ -3670,6 +3673,16 @@
3670
3673
  "items": {
3671
3674
  "$ref": "CSSRuleType"
3672
3675
  }
3676
+ },
3677
+ {
3678
+ "name": "startingStyles",
3679
+ "description": "@starting-style CSS at-rule array.\nThe array enumerates @starting-style at-rules starting with the innermost one, going outwards.",
3680
+ "experimental": true,
3681
+ "optional": true,
3682
+ "type": "array",
3683
+ "items": {
3684
+ "$ref": "CSSStartingStyle"
3685
+ }
3673
3686
  }
3674
3687
  ]
3675
3688
  },
@@ -3684,7 +3697,8 @@
3684
3697
  "ContainerRule",
3685
3698
  "LayerRule",
3686
3699
  "ScopeRule",
3687
- "StyleRule"
3700
+ "StyleRule",
3701
+ "StartingStyleRule"
3688
3702
  ]
3689
3703
  },
3690
3704
  {
@@ -4027,6 +4041,12 @@
4027
4041
  "description": "Optional logical axes queried for the container.",
4028
4042
  "optional": true,
4029
4043
  "$ref": "DOM.LogicalAxes"
4044
+ },
4045
+ {
4046
+ "name": "queriesScrollState",
4047
+ "description": "true if the query contains scroll-state() queries.",
4048
+ "optional": true,
4049
+ "type": "boolean"
4030
4050
  }
4031
4051
  ]
4032
4052
  },
@@ -4110,6 +4130,26 @@
4110
4130
  }
4111
4131
  ]
4112
4132
  },
4133
+ {
4134
+ "id": "CSSStartingStyle",
4135
+ "description": "CSS Starting Style at-rule descriptor.",
4136
+ "experimental": true,
4137
+ "type": "object",
4138
+ "properties": [
4139
+ {
4140
+ "name": "range",
4141
+ "description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
4142
+ "optional": true,
4143
+ "$ref": "SourceRange"
4144
+ },
4145
+ {
4146
+ "name": "styleSheetId",
4147
+ "description": "Identifier of the stylesheet containing this object (if exists).",
4148
+ "optional": true,
4149
+ "$ref": "StyleSheetId"
4150
+ }
4151
+ ]
4152
+ },
4113
4153
  {
4114
4154
  "id": "CSSLayerData",
4115
4155
  "description": "CSS Layer data.",
@@ -5658,6 +5698,7 @@
5658
5698
  "check",
5659
5699
  "before",
5660
5700
  "after",
5701
+ "select-arrow",
5661
5702
  "marker",
5662
5703
  "backdrop",
5663
5704
  "column",
@@ -7166,7 +7207,7 @@
7166
7207
  },
7167
7208
  {
7168
7209
  "name": "getContainerForNode",
7169
- "description": "Returns the query container of the given node based on container query\nconditions: containerName, physical, and logical axes. If no axes are\nprovided, the style container is returned, which is the direct parent or the\nclosest element with a matching container-name.",
7210
+ "description": "Returns the query container of the given node based on container query\nconditions: containerName, physical and logical axes, and whether it queries\nscroll-state. If no axes are provided and queriesScrollState is false, the\nstyle container is returned, which is the direct parent or the closest\nelement with a matching container-name.",
7170
7211
  "experimental": true,
7171
7212
  "parameters": [
7172
7213
  {
@@ -7187,6 +7228,11 @@
7187
7228
  "name": "logicalAxes",
7188
7229
  "optional": true,
7189
7230
  "$ref": "LogicalAxes"
7231
+ },
7232
+ {
7233
+ "name": "queriesScrollState",
7234
+ "optional": true,
7235
+ "type": "boolean"
7190
7236
  }
7191
7237
  ],
7192
7238
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1376096",
3
+ "version": "0.0.1377232",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -117,6 +117,7 @@ experimental domain Accessibility
117
117
  # - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
118
118
  type AXPropertyName extends string
119
119
  enum
120
+ actions
120
121
  busy
121
122
  disabled
122
123
  editable
@@ -517,6 +518,8 @@ experimental domain Audits
517
518
  ExcludeDomainNonASCII
518
519
  ExcludeThirdPartyCookieBlockedInFirstPartySet
519
520
  ExcludeThirdPartyPhaseout
521
+ ExcludePortMismatch
522
+ ExcludeSchemeMismatch
520
523
 
521
524
  type CookieWarningReason extends string
522
525
  enum
@@ -1798,6 +1801,9 @@ experimental domain CSS
1798
1801
  experimental optional array of CSSScope scopes
1799
1802
  # The array keeps the types of ancestor CSSRules from the innermost going outwards.
1800
1803
  experimental optional array of CSSRuleType ruleTypes
1804
+ # @starting-style CSS at-rule array.
1805
+ # The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
1806
+ experimental optional array of CSSStartingStyle startingStyles
1801
1807
 
1802
1808
  # Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
1803
1809
  # This list only contains rule types that are collected during the ancestor rule collection.
@@ -1809,6 +1815,7 @@ experimental domain CSS
1809
1815
  LayerRule
1810
1816
  ScopeRule
1811
1817
  StyleRule
1818
+ StartingStyleRule
1812
1819
 
1813
1820
  # CSS coverage information.
1814
1821
  type RuleUsage extends object
@@ -1951,6 +1958,8 @@ experimental domain CSS
1951
1958
  optional DOM.PhysicalAxes physicalAxes
1952
1959
  # Optional logical axes queried for the container.
1953
1960
  optional DOM.LogicalAxes logicalAxes
1961
+ # true if the query contains scroll-state() queries.
1962
+ optional boolean queriesScrollState
1954
1963
 
1955
1964
  # CSS Supports at-rule descriptor.
1956
1965
  experimental type CSSSupports extends object
@@ -1987,6 +1996,15 @@ experimental domain CSS
1987
1996
  # Identifier of the stylesheet containing this object (if exists).
1988
1997
  optional StyleSheetId styleSheetId
1989
1998
 
1999
+ # CSS Starting Style at-rule descriptor.
2000
+ experimental type CSSStartingStyle extends object
2001
+ properties
2002
+ # The associated rule header range in the enclosing stylesheet (if
2003
+ # available).
2004
+ optional SourceRange range
2005
+ # Identifier of the stylesheet containing this object (if exists).
2006
+ optional StyleSheetId styleSheetId
2007
+
1990
2008
  # CSS Layer data.
1991
2009
  experimental type CSSLayerData extends object
1992
2010
  properties
@@ -2680,6 +2698,7 @@ domain DOM
2680
2698
  check
2681
2699
  before
2682
2700
  after
2701
+ select-arrow
2683
2702
  marker
2684
2703
  backdrop
2685
2704
  column
@@ -3387,15 +3406,17 @@ domain DOM
3387
3406
  optional NodeId nodeId
3388
3407
 
3389
3408
  # Returns the query container of the given node based on container query
3390
- # conditions: containerName, physical, and logical axes. If no axes are
3391
- # provided, the style container is returned, which is the direct parent or the
3392
- # closest element with a matching container-name.
3409
+ # conditions: containerName, physical and logical axes, and whether it queries
3410
+ # scroll-state. If no axes are provided and queriesScrollState is false, the
3411
+ # style container is returned, which is the direct parent or the closest
3412
+ # element with a matching container-name.
3393
3413
  experimental command getContainerForNode
3394
3414
  parameters
3395
3415
  NodeId nodeId
3396
3416
  optional string containerName
3397
3417
  optional PhysicalAxes physicalAxes
3398
3418
  optional LogicalAxes logicalAxes
3419
+ optional boolean queriesScrollState
3399
3420
  returns
3400
3421
  # The container node for the given node, or null if not found.
3401
3422
  optional NodeId nodeId
@@ -2439,9 +2439,10 @@ export namespace ProtocolMapping {
2439
2439
  };
2440
2440
  /**
2441
2441
  * Returns the query container of the given node based on container query
2442
- * conditions: containerName, physical, and logical axes. If no axes are
2443
- * provided, the style container is returned, which is the direct parent or the
2444
- * closest element with a matching container-name.
2442
+ * conditions: containerName, physical and logical axes, and whether it queries
2443
+ * scroll-state. If no axes are provided and queriesScrollState is false, the
2444
+ * style container is returned, which is the direct parent or the closest
2445
+ * element with a matching container-name.
2445
2446
  */
2446
2447
  'DOM.getContainerForNode': {
2447
2448
  paramsType: [Protocol.DOM.GetContainerForNodeRequest];
@@ -1566,9 +1566,10 @@ export namespace ProtocolProxyApi {
1566
1566
 
1567
1567
  /**
1568
1568
  * Returns the query container of the given node based on container query
1569
- * conditions: containerName, physical, and logical axes. If no axes are
1570
- * provided, the style container is returned, which is the direct parent or the
1571
- * closest element with a matching container-name.
1569
+ * conditions: containerName, physical and logical axes, and whether it queries
1570
+ * scroll-state. If no axes are provided and queriesScrollState is false, the
1571
+ * style container is returned, which is the direct parent or the closest
1572
+ * element with a matching container-name.
1572
1573
  */
1573
1574
  getContainerForNode(params: Protocol.DOM.GetContainerForNodeRequest): Promise<Protocol.DOM.GetContainerForNodeResponse>;
1574
1575
 
@@ -1648,9 +1648,10 @@ export namespace ProtocolTestsProxyApi {
1648
1648
 
1649
1649
  /**
1650
1650
  * Returns the query container of the given node based on container query
1651
- * conditions: containerName, physical, and logical axes. If no axes are
1652
- * provided, the style container is returned, which is the direct parent or the
1653
- * closest element with a matching container-name.
1651
+ * conditions: containerName, physical and logical axes, and whether it queries
1652
+ * scroll-state. If no axes are provided and queriesScrollState is false, the
1653
+ * style container is returned, which is the direct parent or the closest
1654
+ * element with a matching container-name.
1654
1655
  */
1655
1656
  getContainerForNode(params: Protocol.DOM.GetContainerForNodeRequest): Promise<{id: number, result: Protocol.DOM.GetContainerForNodeResponse, sessionId: string}>;
1656
1657
 
@@ -2785,7 +2785,7 @@ export namespace Protocol {
2785
2785
  * - from 'checked' to 'selected': states which apply to widgets
2786
2786
  * - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
2787
2787
  */
2788
- export type AXPropertyName = ('busy' | 'disabled' | 'editable' | 'focusable' | 'focused' | 'hidden' | 'hiddenRoot' | 'invalid' | 'keyshortcuts' | 'settable' | 'roledescription' | 'live' | 'atomic' | 'relevant' | 'root' | 'autocomplete' | 'hasPopup' | 'level' | 'multiselectable' | 'orientation' | 'multiline' | 'readonly' | 'required' | 'valuemin' | 'valuemax' | 'valuetext' | 'checked' | 'expanded' | 'modal' | 'pressed' | 'selected' | 'activedescendant' | 'controls' | 'describedby' | 'details' | 'errormessage' | 'flowto' | 'labelledby' | 'owns' | 'url');
2788
+ export type AXPropertyName = ('actions' | 'busy' | 'disabled' | 'editable' | 'focusable' | 'focused' | 'hidden' | 'hiddenRoot' | 'invalid' | 'keyshortcuts' | 'settable' | 'roledescription' | 'live' | 'atomic' | 'relevant' | 'root' | 'autocomplete' | 'hasPopup' | 'level' | 'multiselectable' | 'orientation' | 'multiline' | 'readonly' | 'required' | 'valuemin' | 'valuemax' | 'valuetext' | 'checked' | 'expanded' | 'modal' | 'pressed' | 'selected' | 'activedescendant' | 'controls' | 'describedby' | 'details' | 'errormessage' | 'flowto' | 'labelledby' | 'owns' | 'url');
2789
2789
 
2790
2790
  /**
2791
2791
  * A node in the accessibility tree.
@@ -3317,7 +3317,7 @@ export namespace Protocol {
3317
3317
  frameId: Page.FrameId;
3318
3318
  }
3319
3319
 
3320
- export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet' | 'ExcludeThirdPartyPhaseout');
3320
+ export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet' | 'ExcludeThirdPartyPhaseout' | 'ExcludePortMismatch' | 'ExcludeSchemeMismatch');
3321
3321
 
3322
3322
  export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII' | 'WarnThirdPartyPhaseout' | 'WarnCrossSiteRedirectDowngradeChangesInclusion' | 'WarnDeprecationTrialMetadata' | 'WarnThirdPartyCookieHeuristic');
3323
3323
 
@@ -4740,13 +4740,18 @@ export namespace Protocol {
4740
4740
  * The array keeps the types of ancestor CSSRules from the innermost going outwards.
4741
4741
  */
4742
4742
  ruleTypes?: CSSRuleType[];
4743
+ /**
4744
+ * @starting-style CSS at-rule array.
4745
+ * The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
4746
+ */
4747
+ startingStyles?: CSSStartingStyle[];
4743
4748
  }
4744
4749
 
4745
4750
  /**
4746
4751
  * Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
4747
4752
  * This list only contains rule types that are collected during the ancestor rule collection.
4748
4753
  */
4749
- export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule');
4754
+ export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule' | 'StartingStyleRule');
4750
4755
 
4751
4756
  /**
4752
4757
  * CSS coverage information.
@@ -4999,6 +5004,10 @@ export namespace Protocol {
4999
5004
  * Optional logical axes queried for the container.
5000
5005
  */
5001
5006
  logicalAxes?: DOM.LogicalAxes;
5007
+ /**
5008
+ * true if the query contains scroll-state() queries.
5009
+ */
5010
+ queriesScrollState?: boolean;
5002
5011
  }
5003
5012
 
5004
5013
  /**
@@ -5062,6 +5071,21 @@ export namespace Protocol {
5062
5071
  styleSheetId?: StyleSheetId;
5063
5072
  }
5064
5073
 
5074
+ /**
5075
+ * CSS Starting Style at-rule descriptor.
5076
+ */
5077
+ export interface CSSStartingStyle {
5078
+ /**
5079
+ * The associated rule header range in the enclosing stylesheet (if
5080
+ * available).
5081
+ */
5082
+ range?: SourceRange;
5083
+ /**
5084
+ * Identifier of the stylesheet containing this object (if exists).
5085
+ */
5086
+ styleSheetId?: StyleSheetId;
5087
+ }
5088
+
5065
5089
  /**
5066
5090
  * CSS Layer data.
5067
5091
  */
@@ -6027,7 +6051,7 @@ export namespace Protocol {
6027
6051
  /**
6028
6052
  * Pseudo element type.
6029
6053
  */
6030
- export type PseudoType = ('first-line' | 'first-letter' | 'check' | 'before' | 'after' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-next-button' | 'scroll-prev-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker');
6054
+ export type PseudoType = ('first-line' | 'first-letter' | 'check' | 'before' | 'after' | 'select-arrow' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-next-button' | 'scroll-prev-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker');
6031
6055
 
6032
6056
  /**
6033
6057
  * Shadow root type.
@@ -7011,6 +7035,7 @@ export namespace Protocol {
7011
7035
  containerName?: string;
7012
7036
  physicalAxes?: PhysicalAxes;
7013
7037
  logicalAxes?: LogicalAxes;
7038
+ queriesScrollState?: boolean;
7014
7039
  }
7015
7040
 
7016
7041
  export interface GetContainerForNodeResponse {