devtools-protocol 0.0.1541017 → 0.0.1543509

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.
@@ -5177,6 +5177,59 @@
5177
5177
  }
5178
5178
  ]
5179
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
+ },
5180
5233
  {
5181
5234
  "id": "CSSPropertyRule",
5182
5235
  "description": "CSS property at-rule representation.",
@@ -5788,6 +5841,15 @@
5788
5841
  "optional": true,
5789
5842
  "$ref": "CSSFontPaletteValuesRule"
5790
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
+ },
5791
5853
  {
5792
5854
  "name": "parentLayoutNodeId",
5793
5855
  "description": "Id of the first parent element that does not have display: contents.",
@@ -20532,7 +20594,6 @@
20532
20594
  "otp-credentials",
20533
20595
  "payment",
20534
20596
  "picture-in-picture",
20535
- "popins",
20536
20597
  "private-aggregation",
20537
20598
  "private-state-token-issuance",
20538
20599
  "private-state-token-redemption",
@@ -28156,6 +28217,12 @@
28156
28217
  "name": "targetId",
28157
28218
  "description": "This can be the page or tab target ID.",
28158
28219
  "$ref": "TargetID"
28220
+ },
28221
+ {
28222
+ "name": "panelId",
28223
+ "description": "The id of the panel we want DevTools to open initially. Currently\nsupported panels are elements, console, network, sources and resources.",
28224
+ "optional": true,
28225
+ "type": "string"
28159
28226
  }
28160
28227
  ],
28161
28228
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1541017",
3
+ "version": "0.0.1543509",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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.
@@ -172,7 +172,6 @@ domain Page
172
172
  otp-credentials
173
173
  payment
174
174
  picture-in-picture
175
- popins
176
175
  private-aggregation
177
176
  private-state-token-issuance
178
177
  private-state-token-redemption
@@ -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
@@ -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
@@ -15799,7 +15849,7 @@ export namespace Protocol {
15799
15849
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
15800
15850
  * @experimental
15801
15851
  */
15802
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
15852
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
15803
15853
 
15804
15854
  /**
15805
15855
  * Reason for a permissions policy feature to be disabled.
@@ -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 {