devtools-protocol 0.0.970707 → 0.0.972883

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.
@@ -399,13 +399,6 @@
399
399
  "optional": true,
400
400
  "type": "integer"
401
401
  },
402
- {
403
- "name": "max_depth",
404
- "description": "Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.",
405
- "deprecated": true,
406
- "optional": true,
407
- "type": "integer"
408
- },
409
402
  {
410
403
  "name": "frameId",
411
404
  "description": "The frame for whose document the AX tree should be retrieved.\nIf omited, the root frame is used.",
@@ -1082,6 +1075,7 @@
1082
1075
  "id": "MixedContentResourceType",
1083
1076
  "type": "string",
1084
1077
  "enum": [
1078
+ "AttributionSrc",
1085
1079
  "Audio",
1086
1080
  "Beacon",
1087
1081
  "CSPReport",
@@ -1603,7 +1597,7 @@
1603
1597
  },
1604
1598
  {
1605
1599
  "id": "FederatedAuthRequestIssueReason",
1606
- "description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/webid/federated_auth_request.mojom to include\nall cases except for success.",
1600
+ "description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/devtools/inspector_issue.mojom to include\nall cases except for success.",
1607
1601
  "type": "string",
1608
1602
  "enum": [
1609
1603
  "ApprovalDeclined",
@@ -3818,6 +3812,32 @@
3818
3812
  }
3819
3813
  ]
3820
3814
  },
3815
+ {
3816
+ "name": "setSupportsText",
3817
+ "description": "Modifies the expression of a supports at-rule.",
3818
+ "experimental": true,
3819
+ "parameters": [
3820
+ {
3821
+ "name": "styleSheetId",
3822
+ "$ref": "StyleSheetId"
3823
+ },
3824
+ {
3825
+ "name": "range",
3826
+ "$ref": "SourceRange"
3827
+ },
3828
+ {
3829
+ "name": "text",
3830
+ "type": "string"
3831
+ }
3832
+ ],
3833
+ "returns": [
3834
+ {
3835
+ "name": "supports",
3836
+ "description": "The resulting CSS Supports rule after modification.",
3837
+ "$ref": "CSSSupports"
3838
+ }
3839
+ ]
3840
+ },
3821
3841
  {
3822
3842
  "name": "setRuleSelector",
3823
3843
  "description": "Modifies the rule selector.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.970707",
3
+ "version": "0.0.972883",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -214,8 +214,6 @@ experimental domain Accessibility
214
214
  # The maximum depth at which descendants of the root node should be retrieved.
215
215
  # If omitted, the full tree is returned.
216
216
  optional integer depth
217
- # Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.
218
- deprecated optional integer max_depth
219
217
  # The frame for whose document the AX tree should be retrieved.
220
218
  # If omited, the root frame is used.
221
219
  optional Page.FrameId frameId
@@ -526,6 +524,7 @@ experimental domain Audits
526
524
 
527
525
  type MixedContentResourceType extends string
528
526
  enum
527
+ AttributionSrc
529
528
  Audio
530
529
  Beacon
531
530
  CSPReport
@@ -779,7 +778,7 @@ experimental domain Audits
779
778
 
780
779
  # Represents the failure reason when a federated authentication reason fails.
781
780
  # Should be updated alongside RequestIdTokenStatus in
782
- # third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
781
+ # third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
783
782
  # all cases except for success.
784
783
  type FederatedAuthRequestIssueReason extends string
785
784
  enum
@@ -1792,6 +1791,16 @@ experimental domain CSS
1792
1791
  # The resulting CSS container query rule after modification.
1793
1792
  CSSContainerQuery containerQuery
1794
1793
 
1794
+ # Modifies the expression of a supports at-rule.
1795
+ experimental command setSupportsText
1796
+ parameters
1797
+ StyleSheetId styleSheetId
1798
+ SourceRange range
1799
+ string text
1800
+ returns
1801
+ # The resulting CSS Supports rule after modification.
1802
+ CSSSupports supports
1803
+
1795
1804
  # Modifies the rule selector.
1796
1805
  command setRuleSelector
1797
1806
  parameters
@@ -1682,6 +1682,13 @@ export namespace ProtocolMapping {
1682
1682
  paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
1683
1683
  returnType: Protocol.CSS.SetContainerQueryTextResponse;
1684
1684
  };
1685
+ /**
1686
+ * Modifies the expression of a supports at-rule.
1687
+ */
1688
+ 'CSS.setSupportsText': {
1689
+ paramsType: [Protocol.CSS.SetSupportsTextRequest];
1690
+ returnType: Protocol.CSS.SetSupportsTextResponse;
1691
+ };
1685
1692
  /**
1686
1693
  * Modifies the rule selector.
1687
1694
  */
@@ -999,6 +999,11 @@ export namespace ProtocolProxyApi {
999
999
  */
1000
1000
  setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
1001
1001
 
1002
+ /**
1003
+ * Modifies the expression of a supports at-rule.
1004
+ */
1005
+ setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<Protocol.CSS.SetSupportsTextResponse>;
1006
+
1002
1007
  /**
1003
1008
  * Modifies the rule selector.
1004
1009
  */
@@ -2682,10 +2682,6 @@ export namespace Protocol {
2682
2682
  * If omitted, the full tree is returned.
2683
2683
  */
2684
2684
  depth?: integer;
2685
- /**
2686
- * Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.
2687
- */
2688
- max_depth?: integer;
2689
2685
  /**
2690
2686
  * The frame for whose document the AX tree should be retrieved.
2691
2687
  * If omited, the root frame is used.
@@ -3109,7 +3105,7 @@ export namespace Protocol {
3109
3105
 
3110
3106
  export type MixedContentResolutionStatus = ('MixedContentBlocked' | 'MixedContentAutomaticallyUpgraded' | 'MixedContentWarning');
3111
3107
 
3112
- export type MixedContentResourceType = ('Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
3108
+ export type MixedContentResourceType = ('AttributionSrc' | 'Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
3113
3109
 
3114
3110
  export interface MixedContentIssueDetails {
3115
3111
  /**
@@ -3339,7 +3335,7 @@ export namespace Protocol {
3339
3335
  /**
3340
3336
  * Represents the failure reason when a federated authentication reason fails.
3341
3337
  * Should be updated alongside RequestIdTokenStatus in
3342
- * third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
3338
+ * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3343
3339
  * all cases except for success.
3344
3340
  */
3345
3341
  export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
@@ -4749,6 +4745,19 @@ export namespace Protocol {
4749
4745
  containerQuery: CSSContainerQuery;
4750
4746
  }
4751
4747
 
4748
+ export interface SetSupportsTextRequest {
4749
+ styleSheetId: StyleSheetId;
4750
+ range: SourceRange;
4751
+ text: string;
4752
+ }
4753
+
4754
+ export interface SetSupportsTextResponse {
4755
+ /**
4756
+ * The resulting CSS Supports rule after modification.
4757
+ */
4758
+ supports: CSSSupports;
4759
+ }
4760
+
4752
4761
  export interface SetRuleSelectorRequest {
4753
4762
  styleSheetId: StyleSheetId;
4754
4763
  range: SourceRange;