devtools-protocol 0.0.967529 → 0.0.970581

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.
@@ -1608,12 +1608,12 @@
1608
1608
  "enum": [
1609
1609
  "ApprovalDeclined",
1610
1610
  "TooManyRequests",
1611
- "WellKnownHttpNotFound",
1612
- "WellKnownNoResponse",
1613
- "WellKnownInvalidResponse",
1614
- "ClientIdMetadataHttpNotFound",
1615
- "ClientIdMetadataNoResponse",
1616
- "ClientIdMetadataInvalidResponse",
1611
+ "ManifestHttpNotFound",
1612
+ "ManifestNoResponse",
1613
+ "ManifestInvalidResponse",
1614
+ "ClientMetadataHttpNotFound",
1615
+ "ClientMetadataNoResponse",
1616
+ "ClientMetadataInvalidResponse",
1617
1617
  "ErrorFetchingSignin",
1618
1618
  "InvalidSigninResponse",
1619
1619
  "AccountsHttpNotFound",
@@ -3818,6 +3818,32 @@
3818
3818
  }
3819
3819
  ]
3820
3820
  },
3821
+ {
3822
+ "name": "setSupportsText",
3823
+ "description": "Modifies the expression of a supports at-rule.",
3824
+ "experimental": true,
3825
+ "parameters": [
3826
+ {
3827
+ "name": "styleSheetId",
3828
+ "$ref": "StyleSheetId"
3829
+ },
3830
+ {
3831
+ "name": "range",
3832
+ "$ref": "SourceRange"
3833
+ },
3834
+ {
3835
+ "name": "text",
3836
+ "type": "string"
3837
+ }
3838
+ ],
3839
+ "returns": [
3840
+ {
3841
+ "name": "supports",
3842
+ "description": "The resulting CSS Supports rule after modification.",
3843
+ "$ref": "CSSSupports"
3844
+ }
3845
+ ]
3846
+ },
3821
3847
  {
3822
3848
  "name": "setRuleSelector",
3823
3849
  "description": "Modifies the rule selector.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.967529",
3
+ "version": "0.0.970581",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -785,12 +785,12 @@ experimental domain Audits
785
785
  enum
786
786
  ApprovalDeclined
787
787
  TooManyRequests
788
- WellKnownHttpNotFound
789
- WellKnownNoResponse
790
- WellKnownInvalidResponse
791
- ClientIdMetadataHttpNotFound
792
- ClientIdMetadataNoResponse
793
- ClientIdMetadataInvalidResponse
788
+ ManifestHttpNotFound
789
+ ManifestNoResponse
790
+ ManifestInvalidResponse
791
+ ClientMetadataHttpNotFound
792
+ ClientMetadataNoResponse
793
+ ClientMetadataInvalidResponse
794
794
  ErrorFetchingSignin
795
795
  InvalidSigninResponse
796
796
  AccountsHttpNotFound
@@ -1792,6 +1792,16 @@ experimental domain CSS
1792
1792
  # The resulting CSS container query rule after modification.
1793
1793
  CSSContainerQuery containerQuery
1794
1794
 
1795
+ # Modifies the expression of a supports at-rule.
1796
+ experimental command setSupportsText
1797
+ parameters
1798
+ StyleSheetId styleSheetId
1799
+ SourceRange range
1800
+ string text
1801
+ returns
1802
+ # The resulting CSS Supports rule after modification.
1803
+ CSSSupports supports
1804
+
1795
1805
  # Modifies the rule selector.
1796
1806
  command setRuleSelector
1797
1807
  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
  */
@@ -3342,7 +3342,7 @@ export namespace Protocol {
3342
3342
  * third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
3343
3343
  * all cases except for success.
3344
3344
  */
3345
- export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'ClientIdMetadataHttpNotFound' | 'ClientIdMetadataNoResponse' | 'ClientIdMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
3345
+ export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
3346
3346
 
3347
3347
  /**
3348
3348
  * This issue tracks client hints related issues. It's used to deprecate old
@@ -4749,6 +4749,19 @@ export namespace Protocol {
4749
4749
  containerQuery: CSSContainerQuery;
4750
4750
  }
4751
4751
 
4752
+ export interface SetSupportsTextRequest {
4753
+ styleSheetId: StyleSheetId;
4754
+ range: SourceRange;
4755
+ text: string;
4756
+ }
4757
+
4758
+ export interface SetSupportsTextResponse {
4759
+ /**
4760
+ * The resulting CSS Supports rule after modification.
4761
+ */
4762
+ supports: CSSSupports;
4763
+ }
4764
+
4752
4765
  export interface SetRuleSelectorRequest {
4753
4766
  styleSheetId: StyleSheetId;
4754
4767
  range: SourceRange;