devtools-protocol 0.0.1538951 → 0.0.1541592

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.
@@ -734,7 +734,8 @@
734
734
  },
735
735
  {
736
736
  "name": "iterations",
737
- "description": "`AnimationEffect`'s iterations.",
737
+ "description": "`AnimationEffect`'s iterations. Omitted if the value is infinite.",
738
+ "optional": true,
738
739
  "type": "number"
739
740
  },
740
741
  {
@@ -5176,6 +5177,59 @@
5176
5177
  }
5177
5178
  ]
5178
5179
  },
5180
+ {
5181
+ "id": "CSSAtRule",
5182
+ "description": "CSS generic @rule representation.",
5183
+ "type": "object",
5184
+ "properties": [
5185
+ {
5186
+ "name": "type",
5187
+ "description": "Type of at-rule.",
5188
+ "type": "string",
5189
+ "enum": [
5190
+ "font-face",
5191
+ "font-feature-values",
5192
+ "font-palette-values"
5193
+ ]
5194
+ },
5195
+ {
5196
+ "name": "subsection",
5197
+ "description": "Subsection of font-feature-values, if this is a subsection.",
5198
+ "optional": true,
5199
+ "type": "string",
5200
+ "enum": [
5201
+ "swash",
5202
+ "annotation",
5203
+ "ornaments",
5204
+ "stylistic",
5205
+ "styleset",
5206
+ "character-variant"
5207
+ ]
5208
+ },
5209
+ {
5210
+ "name": "name",
5211
+ "description": "LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)\nAssociated name, if applicable.",
5212
+ "optional": true,
5213
+ "$ref": "Value"
5214
+ },
5215
+ {
5216
+ "name": "styleSheetId",
5217
+ "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
5218
+ "optional": true,
5219
+ "$ref": "StyleSheetId"
5220
+ },
5221
+ {
5222
+ "name": "origin",
5223
+ "description": "Parent stylesheet's origin.",
5224
+ "$ref": "StyleSheetOrigin"
5225
+ },
5226
+ {
5227
+ "name": "style",
5228
+ "description": "Associated style declaration.",
5229
+ "$ref": "CSSStyle"
5230
+ }
5231
+ ]
5232
+ },
5179
5233
  {
5180
5234
  "id": "CSSPropertyRule",
5181
5235
  "description": "CSS property at-rule representation.",
@@ -5787,6 +5841,15 @@
5787
5841
  "optional": true,
5788
5842
  "$ref": "CSSFontPaletteValuesRule"
5789
5843
  },
5844
+ {
5845
+ "name": "cssAtRules",
5846
+ "description": "A list of simple @rules matching this node or its pseudo-elements.",
5847
+ "optional": true,
5848
+ "type": "array",
5849
+ "items": {
5850
+ "$ref": "CSSAtRule"
5851
+ }
5852
+ },
5790
5853
  {
5791
5854
  "name": "parentLayoutNodeId",
5792
5855
  "description": "Id of the first parent element that does not have display: contents.",
@@ -6775,7 +6838,9 @@
6775
6838
  "file-selector-button",
6776
6839
  "details-content",
6777
6840
  "picker",
6778
- "permission-icon"
6841
+ "permission-icon",
6842
+ "overscroll-area-parent",
6843
+ "overscroll-client-area"
6779
6844
  ]
6780
6845
  },
6781
6846
  {
@@ -28153,6 +28218,12 @@
28153
28218
  "name": "targetId",
28154
28219
  "description": "This can be the page or tab target ID.",
28155
28220
  "$ref": "TargetID"
28221
+ },
28222
+ {
28223
+ "name": "panelId",
28224
+ "description": "The id of the panel we want DevTools to open initially. Currently\nsupported panels are elements, console, network, sources and resources.",
28225
+ "optional": true,
28226
+ "type": "string"
28156
28227
  }
28157
28228
  ],
28158
28229
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1538951",
3
+ "version": "0.0.1541592",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -68,8 +68,8 @@ experimental domain Animation
68
68
  number endDelay
69
69
  # `AnimationEffect`'s iteration start.
70
70
  number iterationStart
71
- # `AnimationEffect`'s iterations.
72
- number iterations
71
+ # `AnimationEffect`'s iterations. Omitted if the value is infinite.
72
+ optional number iterations
73
73
  # `AnimationEffect`'s iteration duration.
74
74
  # Milliseconds for time based animations and
75
75
  # percentage [0 - 100] for scroll driven animations
@@ -514,6 +514,34 @@ experimental domain CSS
514
514
  # Associated style declaration.
515
515
  CSSStyle style
516
516
 
517
+ # CSS generic @rule representation.
518
+ type CSSAtRule extends object
519
+ properties
520
+ # Type of at-rule.
521
+ enum type
522
+ font-face
523
+ font-feature-values
524
+ font-palette-values
525
+ # Subsection of font-feature-values, if this is a subsection.
526
+ optional enum subsection
527
+ # LINT.IfChange(FontVariantAlternatesFeatureType)
528
+ swash
529
+ annotation
530
+ ornaments
531
+ stylistic
532
+ styleset
533
+ character-variant
534
+ # LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)
535
+ # Associated name, if applicable.
536
+ optional Value name
537
+ # The css style sheet identifier (absent for user agent stylesheet and user-specified
538
+ # stylesheet rules) this rule came from.
539
+ optional StyleSheetId styleSheetId
540
+ # Parent stylesheet's origin.
541
+ StyleSheetOrigin origin
542
+ # Associated style declaration.
543
+ CSSStyle style
544
+
517
545
  # CSS property at-rule representation.
518
546
  type CSSPropertyRule extends object
519
547
  properties
@@ -774,6 +802,8 @@ experimental domain CSS
774
802
  optional array of CSSPropertyRegistration cssPropertyRegistrations
775
803
  # A font-palette-values rule matching this node.
776
804
  optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
805
+ # A list of simple @rules matching this node or its pseudo-elements.
806
+ optional array of CSSAtRule cssAtRules
777
807
  # Id of the first parent element that does not have display: contents.
778
808
  experimental optional DOM.NodeId parentLayoutNodeId
779
809
  # A list of CSS at-function rules referenced by styles of this node.
@@ -72,6 +72,8 @@ domain DOM
72
72
  details-content
73
73
  picker
74
74
  permission-icon
75
+ overscroll-area-parent
76
+ overscroll-client-area
75
77
 
76
78
  # Shadow root type.
77
79
  type ShadowRootType extends string
@@ -322,6 +322,9 @@ domain Target
322
322
  parameters
323
323
  # This can be the page or tab target ID.
324
324
  TargetID targetId
325
+ # The id of the panel we want DevTools to open initially. Currently
326
+ # supported panels are elements, console, network, sources and resources.
327
+ optional string panelId
325
328
  returns
326
329
  # The targetId of DevTools page target.
327
330
  TargetID targetId
@@ -3230,9 +3230,9 @@ export namespace Protocol {
3230
3230
  */
3231
3231
  iterationStart: number;
3232
3232
  /**
3233
- * `AnimationEffect`'s iterations.
3233
+ * `AnimationEffect`'s iterations. Omitted if the value is infinite.
3234
3234
  */
3235
- iterations: number;
3235
+ iterations?: number;
3236
3236
  /**
3237
3237
  * `AnimationEffect`'s iteration duration.
3238
3238
  * Milliseconds for time based animations and
@@ -5800,6 +5800,52 @@ export namespace Protocol {
5800
5800
  style: CSSStyle;
5801
5801
  }
5802
5802
 
5803
+ export const enum CSSAtRuleType {
5804
+ FontFace = 'font-face',
5805
+ FontFeatureValues = 'font-feature-values',
5806
+ FontPaletteValues = 'font-palette-values',
5807
+ }
5808
+
5809
+ export const enum CSSAtRuleSubsection {
5810
+ Swash = 'swash',
5811
+ Annotation = 'annotation',
5812
+ Ornaments = 'ornaments',
5813
+ Stylistic = 'stylistic',
5814
+ Styleset = 'styleset',
5815
+ CharacterVariant = 'character-variant',
5816
+ }
5817
+
5818
+ /**
5819
+ * CSS generic @rule representation.
5820
+ */
5821
+ export interface CSSAtRule {
5822
+ /**
5823
+ * Type of at-rule.
5824
+ */
5825
+ type: ('font-face' | 'font-feature-values' | 'font-palette-values');
5826
+ /**
5827
+ * Subsection of font-feature-values, if this is a subsection.
5828
+ */
5829
+ subsection?: ('swash' | 'annotation' | 'ornaments' | 'stylistic' | 'styleset' | 'character-variant');
5830
+ /**
5831
+ * Associated name, if applicable.
5832
+ */
5833
+ name?: Value;
5834
+ /**
5835
+ * The css style sheet identifier (absent for user agent stylesheet and user-specified
5836
+ * stylesheet rules) this rule came from.
5837
+ */
5838
+ styleSheetId?: StyleSheetId;
5839
+ /**
5840
+ * Parent stylesheet's origin.
5841
+ */
5842
+ origin: StyleSheetOrigin;
5843
+ /**
5844
+ * Associated style declaration.
5845
+ */
5846
+ style: CSSStyle;
5847
+ }
5848
+
5803
5849
  /**
5804
5850
  * CSS property at-rule representation.
5805
5851
  */
@@ -6198,6 +6244,10 @@ export namespace Protocol {
6198
6244
  * A font-palette-values rule matching this node.
6199
6245
  */
6200
6246
  cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
6247
+ /**
6248
+ * A list of simple @rules matching this node or its pseudo-elements.
6249
+ */
6250
+ cssAtRules?: CSSAtRule[];
6201
6251
  /**
6202
6252
  * Id of the first parent element that does not have display: contents.
6203
6253
  * @experimental
@@ -6753,7 +6803,7 @@ export namespace Protocol {
6753
6803
  /**
6754
6804
  * Pseudo element type.
6755
6805
  */
6756
- export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'interest-hint' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-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-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon');
6806
+ export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'interest-hint' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-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-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon' | 'overscroll-area-parent' | 'overscroll-client-area');
6757
6807
 
6758
6808
  /**
6759
6809
  * Shadow root type.
@@ -20336,6 +20386,11 @@ export namespace Protocol {
20336
20386
  * This can be the page or tab target ID.
20337
20387
  */
20338
20388
  targetId: TargetID;
20389
+ /**
20390
+ * The id of the panel we want DevTools to open initially. Currently
20391
+ * supported panels are elements, console, network, sources and resources.
20392
+ */
20393
+ panelId?: string;
20339
20394
  }
20340
20395
 
20341
20396
  export interface OpenDevToolsResponse {