devtools-protocol 0.0.1625959 → 0.0.1628107

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.
@@ -1770,6 +1770,7 @@
1770
1770
  "FormInputHasWrongButWellIntendedAutocompleteValueError",
1771
1771
  "ResponseWasBlockedByORB",
1772
1772
  "NavigationEntryMarkedSkippable",
1773
+ "BackUINavigationWouldSkipAd",
1773
1774
  "AutofillAndManualTextPolicyControlledFeaturesInfo",
1774
1775
  "AutofillPolicyControlledFeatureInfo",
1775
1776
  "ManualTextPolicyControlledFeatureInfo",
@@ -4891,7 +4892,8 @@
4891
4892
  "properties": [
4892
4893
  {
4893
4894
  "name": "text",
4894
- "description": "Container query text.",
4895
+ "description": "Container query text.\nContains the query part without the container name for a single query.\nDeprecated in favor of conditionText which contains the full prelude\nafter @container.",
4896
+ "deprecated": true,
4895
4897
  "type": "string"
4896
4898
  },
4897
4899
  {
@@ -4935,6 +4937,11 @@
4935
4937
  "description": "true if the query contains anchored() queries.",
4936
4938
  "optional": true,
4937
4939
  "type": "boolean"
4940
+ },
4941
+ {
4942
+ "name": "conditionText",
4943
+ "description": "CSSContainerRule.conditionText",
4944
+ "type": "string"
4938
4945
  }
4939
4946
  ]
4940
4947
  },
@@ -6254,7 +6261,33 @@
6254
6261
  },
6255
6262
  {
6256
6263
  "name": "setContainerQueryText",
6257
- "description": "Modifies the expression of a container query.",
6264
+ "description": "Modifies the expression of a container query.\nDeprecated. Use setContainerQueryConditionText instead.",
6265
+ "experimental": true,
6266
+ "deprecated": true,
6267
+ "parameters": [
6268
+ {
6269
+ "name": "styleSheetId",
6270
+ "$ref": "DOM.StyleSheetId"
6271
+ },
6272
+ {
6273
+ "name": "range",
6274
+ "$ref": "SourceRange"
6275
+ },
6276
+ {
6277
+ "name": "text",
6278
+ "type": "string"
6279
+ }
6280
+ ],
6281
+ "returns": [
6282
+ {
6283
+ "name": "containerQuery",
6284
+ "description": "The resulting CSS container query rule after modification.",
6285
+ "$ref": "CSSContainerQuery"
6286
+ }
6287
+ ]
6288
+ },
6289
+ {
6290
+ "name": "setContainerQueryConditionText",
6258
6291
  "experimental": true,
6259
6292
  "parameters": [
6260
6293
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1625959",
3
+ "version": "0.0.1628107",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -425,6 +425,7 @@ experimental domain Audits
425
425
  FormInputHasWrongButWellIntendedAutocompleteValueError
426
426
  ResponseWasBlockedByORB
427
427
  NavigationEntryMarkedSkippable
428
+ BackUINavigationWouldSkipAd
428
429
  AutofillAndManualTextPolicyControlledFeaturesInfo
429
430
  AutofillPolicyControlledFeatureInfo
430
431
  ManualTextPolicyControlledFeatureInfo
@@ -338,7 +338,10 @@ experimental domain CSS
338
338
  experimental type CSSContainerQuery extends object
339
339
  properties
340
340
  # Container query text.
341
- string text
341
+ # Contains the query part without the container name for a single query.
342
+ # Deprecated in favor of conditionText which contains the full prelude
343
+ # after @container.
344
+ deprecated string text
342
345
  # The associated rule header range in the enclosing stylesheet (if
343
346
  # available).
344
347
  optional SourceRange range
@@ -354,6 +357,8 @@ experimental domain CSS
354
357
  optional boolean queriesScrollState
355
358
  # true if the query contains anchored() queries.
356
359
  optional boolean queriesAnchored
360
+ # CSSContainerRule.conditionText
361
+ string conditionText
357
362
 
358
363
  # CSS Supports at-rule descriptor.
359
364
  experimental type CSSSupports extends object
@@ -927,7 +932,17 @@ experimental domain CSS
927
932
  CSSMedia media
928
933
 
929
934
  # Modifies the expression of a container query.
930
- experimental command setContainerQueryText
935
+ # Deprecated. Use setContainerQueryConditionText instead.
936
+ experimental deprecated command setContainerQueryText
937
+ parameters
938
+ DOM.StyleSheetId styleSheetId
939
+ SourceRange range
940
+ string text
941
+ returns
942
+ # The resulting CSS container query rule after modification.
943
+ CSSContainerQuery containerQuery
944
+
945
+ experimental command setContainerQueryConditionText
931
946
  parameters
932
947
  DOM.StyleSheetId styleSheetId
933
948
  SourceRange range
@@ -2446,12 +2446,21 @@ export namespace ProtocolMapping {
2446
2446
  };
2447
2447
  /**
2448
2448
  * Modifies the expression of a container query.
2449
+ * Deprecated. Use setContainerQueryConditionText instead.
2450
+ * @deprecated
2449
2451
  * @experimental
2450
2452
  */
2451
2453
  'CSS.setContainerQueryText': {
2452
2454
  paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
2453
2455
  returnType: Protocol.CSS.SetContainerQueryTextResponse;
2454
2456
  };
2457
+ /**
2458
+ * @experimental
2459
+ */
2460
+ 'CSS.setContainerQueryConditionText': {
2461
+ paramsType: [Protocol.CSS.SetContainerQueryConditionTextRequest];
2462
+ returnType: Protocol.CSS.SetContainerQueryConditionTextResponse;
2463
+ };
2455
2464
  /**
2456
2465
  * Modifies the expression of a supports at-rule.
2457
2466
  * @experimental
@@ -1344,10 +1344,17 @@ export namespace ProtocolProxyApi {
1344
1344
 
1345
1345
  /**
1346
1346
  * Modifies the expression of a container query.
1347
+ * Deprecated. Use setContainerQueryConditionText instead.
1348
+ * @deprecated
1347
1349
  * @experimental
1348
1350
  */
1349
1351
  setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
1350
1352
 
1353
+ /**
1354
+ * @experimental
1355
+ */
1356
+ setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<Protocol.CSS.SetContainerQueryConditionTextResponse>;
1357
+
1351
1358
  /**
1352
1359
  * Modifies the expression of a supports at-rule.
1353
1360
  * @experimental
@@ -1418,10 +1418,17 @@ export namespace ProtocolTestsProxyApi {
1418
1418
 
1419
1419
  /**
1420
1420
  * Modifies the expression of a container query.
1421
+ * Deprecated. Use setContainerQueryConditionText instead.
1422
+ * @deprecated
1421
1423
  * @experimental
1422
1424
  */
1423
1425
  setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryTextResponse, sessionId: string}>;
1424
1426
 
1427
+ /**
1428
+ * @experimental
1429
+ */
1430
+ setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryConditionTextResponse, sessionId: string}>;
1431
+
1425
1432
  /**
1426
1433
  * Modifies the expression of a supports at-rule.
1427
1434
  * @experimental
@@ -3705,7 +3705,7 @@ export namespace Protocol {
3705
3705
  request: AffectedRequest;
3706
3706
  }
3707
3707
 
3708
- export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription' | 'FormModelContextMissingToolName' | 'FormModelContextMissingToolDescription' | 'FormModelContextRequiredParameterMissingName' | 'FormModelContextParameterMissingName');
3708
+ export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'BackUINavigationWouldSkipAd' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription' | 'FormModelContextMissingToolName' | 'FormModelContextMissingToolDescription' | 'FormModelContextRequiredParameterMissingName' | 'FormModelContextParameterMissingName');
3709
3709
 
3710
3710
  /**
3711
3711
  * Depending on the concrete errorType, different properties are set.
@@ -5546,6 +5546,10 @@ export namespace Protocol {
5546
5546
  export interface CSSContainerQuery {
5547
5547
  /**
5548
5548
  * Container query text.
5549
+ * Contains the query part without the container name for a single query.
5550
+ * Deprecated in favor of conditionText which contains the full prelude
5551
+ * after @container.
5552
+ * @deprecated
5549
5553
  */
5550
5554
  text: string;
5551
5555
  /**
@@ -5577,6 +5581,10 @@ export namespace Protocol {
5577
5581
  * true if the query contains anchored() queries.
5578
5582
  */
5579
5583
  queriesAnchored?: boolean;
5584
+ /**
5585
+ * CSSContainerRule.conditionText
5586
+ */
5587
+ conditionText: string;
5580
5588
  }
5581
5589
 
5582
5590
  /**
@@ -6454,6 +6462,19 @@ export namespace Protocol {
6454
6462
  containerQuery: CSSContainerQuery;
6455
6463
  }
6456
6464
 
6465
+ export interface SetContainerQueryConditionTextRequest {
6466
+ styleSheetId: DOM.StyleSheetId;
6467
+ range: SourceRange;
6468
+ text: string;
6469
+ }
6470
+
6471
+ export interface SetContainerQueryConditionTextResponse {
6472
+ /**
6473
+ * The resulting CSS container query rule after modification.
6474
+ */
6475
+ containerQuery: CSSContainerQuery;
6476
+ }
6477
+
6457
6478
  export interface SetSupportsTextRequest {
6458
6479
  styleSheetId: DOM.StyleSheetId;
6459
6480
  range: SourceRange;