devtools-protocol 0.0.1067399 → 0.0.1068969

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.
@@ -3312,6 +3312,18 @@
3312
3312
  "description": "Optional name for the container.",
3313
3313
  "optional": true,
3314
3314
  "type": "string"
3315
+ },
3316
+ {
3317
+ "name": "physicalAxes",
3318
+ "description": "Optional physical axes queried for the container.",
3319
+ "optional": true,
3320
+ "$ref": "DOM.PhysicalAxes"
3321
+ },
3322
+ {
3323
+ "name": "logicalAxes",
3324
+ "description": "Optional logical axes queried for the container.",
3325
+ "optional": true,
3326
+ "$ref": "DOM.LogicalAxes"
3315
3327
  }
3316
3328
  ]
3317
3329
  },
@@ -4689,11 +4701,11 @@
4689
4701
  "scrollbar-corner",
4690
4702
  "resizer",
4691
4703
  "input-list-button",
4692
- "page-transition",
4693
- "page-transition-container",
4694
- "page-transition-image-wrapper",
4695
- "page-transition-outgoing-image",
4696
- "page-transition-incoming-image"
4704
+ "view-transition",
4705
+ "view-transition-group",
4706
+ "view-transition-image-pair",
4707
+ "view-transition-old",
4708
+ "view-transition-new"
4697
4709
  ]
4698
4710
  },
4699
4711
  {
@@ -4716,6 +4728,26 @@
4716
4728
  "NoQuirksMode"
4717
4729
  ]
4718
4730
  },
4731
+ {
4732
+ "id": "PhysicalAxes",
4733
+ "description": "ContainerSelector physical axes",
4734
+ "type": "string",
4735
+ "enum": [
4736
+ "Horizontal",
4737
+ "Vertical",
4738
+ "Both"
4739
+ ]
4740
+ },
4741
+ {
4742
+ "id": "LogicalAxes",
4743
+ "description": "ContainerSelector logical axes",
4744
+ "type": "string",
4745
+ "enum": [
4746
+ "Inline",
4747
+ "Block",
4748
+ "Both"
4749
+ ]
4750
+ },
4719
4751
  {
4720
4752
  "id": "Node",
4721
4753
  "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.\nDOMNode is a base node mirror type.",
@@ -6077,7 +6109,7 @@
6077
6109
  },
6078
6110
  {
6079
6111
  "name": "getContainerForNode",
6080
- "description": "Returns the container of the given node based on container query conditions.\nIf containerName is given, it will find the nearest container with a matching name;\notherwise it will find the nearest container regardless of its container name.",
6112
+ "description": "Returns the query container of the given node based on container query\nconditions: containerName, physical, and logical axes. If no axes are\nprovided, the style container is returned, which is the direct parent or the\nclosest element with a matching container-name.",
6081
6113
  "experimental": true,
6082
6114
  "parameters": [
6083
6115
  {
@@ -6088,6 +6120,16 @@
6088
6120
  "name": "containerName",
6089
6121
  "optional": true,
6090
6122
  "type": "string"
6123
+ },
6124
+ {
6125
+ "name": "physicalAxes",
6126
+ "optional": true,
6127
+ "$ref": "PhysicalAxes"
6128
+ },
6129
+ {
6130
+ "name": "logicalAxes",
6131
+ "optional": true,
6132
+ "$ref": "LogicalAxes"
6091
6133
  }
6092
6134
  ],
6093
6135
  "returns": [
@@ -19684,6 +19726,31 @@
19684
19726
  }
19685
19727
  ]
19686
19728
  },
19729
+ {
19730
+ "name": "setSharedStorageEntry",
19731
+ "description": "Sets entry with `key` and `value` for a given origin's shared storage.",
19732
+ "experimental": true,
19733
+ "parameters": [
19734
+ {
19735
+ "name": "ownerOrigin",
19736
+ "type": "string"
19737
+ },
19738
+ {
19739
+ "name": "key",
19740
+ "type": "string"
19741
+ },
19742
+ {
19743
+ "name": "value",
19744
+ "type": "string"
19745
+ },
19746
+ {
19747
+ "name": "ignoreIfPresent",
19748
+ "description": "If `ignoreIfPresent` is included and true, then only sets the entry if\n`key` doesn't already exist.",
19749
+ "optional": true,
19750
+ "type": "boolean"
19751
+ }
19752
+ ]
19753
+ },
19687
19754
  {
19688
19755
  "name": "deleteSharedStorageEntry",
19689
19756
  "description": "Deletes entry for `key` (if it exists) for a given origin's shared storage.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1067399",
3
+ "version": "0.0.1068969",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1599,6 +1599,10 @@ experimental domain CSS
1599
1599
  optional StyleSheetId styleSheetId
1600
1600
  # Optional name for the container.
1601
1601
  optional string name
1602
+ # Optional physical axes queried for the container.
1603
+ optional DOM.PhysicalAxes physicalAxes
1604
+ # Optional logical axes queried for the container.
1605
+ optional DOM.LogicalAxes logicalAxes
1602
1606
 
1603
1607
  # CSS Supports at-rule descriptor.
1604
1608
  experimental type CSSSupports extends object
@@ -2233,11 +2237,11 @@ domain DOM
2233
2237
  scrollbar-corner
2234
2238
  resizer
2235
2239
  input-list-button
2236
- page-transition
2237
- page-transition-container
2238
- page-transition-image-wrapper
2239
- page-transition-outgoing-image
2240
- page-transition-incoming-image
2240
+ view-transition
2241
+ view-transition-group
2242
+ view-transition-image-pair
2243
+ view-transition-old
2244
+ view-transition-new
2241
2245
 
2242
2246
  # Shadow root type.
2243
2247
  type ShadowRootType extends string
@@ -2253,6 +2257,20 @@ domain DOM
2253
2257
  LimitedQuirksMode
2254
2258
  NoQuirksMode
2255
2259
 
2260
+ # ContainerSelector physical axes
2261
+ type PhysicalAxes extends string
2262
+ enum
2263
+ Horizontal
2264
+ Vertical
2265
+ Both
2266
+
2267
+ # ContainerSelector logical axes
2268
+ type LogicalAxes extends string
2269
+ enum
2270
+ Inline
2271
+ Block
2272
+ Both
2273
+
2256
2274
  # DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
2257
2275
  # DOMNode is a base node mirror type.
2258
2276
  type Node extends object
@@ -2865,13 +2883,16 @@ domain DOM
2865
2883
  # Id of the node at given coordinates, only when enabled and requested document.
2866
2884
  optional NodeId nodeId
2867
2885
 
2868
- # Returns the container of the given node based on container query conditions.
2869
- # If containerName is given, it will find the nearest container with a matching name;
2870
- # otherwise it will find the nearest container regardless of its container name.
2886
+ # Returns the query container of the given node based on container query
2887
+ # conditions: containerName, physical, and logical axes. If no axes are
2888
+ # provided, the style container is returned, which is the direct parent or the
2889
+ # closest element with a matching container-name.
2871
2890
  experimental command getContainerForNode
2872
2891
  parameters
2873
2892
  NodeId nodeId
2874
2893
  optional string containerName
2894
+ optional PhysicalAxes physicalAxes
2895
+ optional LogicalAxes logicalAxes
2875
2896
  returns
2876
2897
  # The container node for the given node, or null if not found.
2877
2898
  optional NodeId nodeId
@@ -9300,6 +9321,16 @@ experimental domain Storage
9300
9321
  returns
9301
9322
  array of SharedStorageEntry entries
9302
9323
 
9324
+ # Sets entry with `key` and `value` for a given origin's shared storage.
9325
+ experimental command setSharedStorageEntry
9326
+ parameters
9327
+ string ownerOrigin
9328
+ string key
9329
+ string value
9330
+ # If `ignoreIfPresent` is included and true, then only sets the entry if
9331
+ # `key` doesn't already exist.
9332
+ optional boolean ignoreIfPresent
9333
+
9303
9334
  # Deletes entry for `key` (if it exists) for a given origin's shared storage.
9304
9335
  experimental command deleteSharedStorageEntry
9305
9336
  parameters
@@ -2218,9 +2218,10 @@ export namespace ProtocolMapping {
2218
2218
  returnType: Protocol.DOM.GetFrameOwnerResponse;
2219
2219
  };
2220
2220
  /**
2221
- * Returns the container of the given node based on container query conditions.
2222
- * If containerName is given, it will find the nearest container with a matching name;
2223
- * otherwise it will find the nearest container regardless of its container name.
2221
+ * Returns the query container of the given node based on container query
2222
+ * conditions: containerName, physical, and logical axes. If no axes are
2223
+ * provided, the style container is returned, which is the direct parent or the
2224
+ * closest element with a matching container-name.
2224
2225
  */
2225
2226
  'DOM.getContainerForNode': {
2226
2227
  paramsType: [Protocol.DOM.GetContainerForNodeRequest];
@@ -4107,6 +4108,13 @@ export namespace ProtocolMapping {
4107
4108
  paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
4108
4109
  returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
4109
4110
  };
4111
+ /**
4112
+ * Sets entry with `key` and `value` for a given origin's shared storage.
4113
+ */
4114
+ 'Storage.setSharedStorageEntry': {
4115
+ paramsType: [Protocol.Storage.SetSharedStorageEntryRequest];
4116
+ returnType: void;
4117
+ };
4110
4118
  /**
4111
4119
  * Deletes entry for `key` (if it exists) for a given origin's shared storage.
4112
4120
  */
@@ -1440,9 +1440,10 @@ export namespace ProtocolProxyApi {
1440
1440
  getFrameOwner(params: Protocol.DOM.GetFrameOwnerRequest): Promise<Protocol.DOM.GetFrameOwnerResponse>;
1441
1441
 
1442
1442
  /**
1443
- * Returns the container of the given node based on container query conditions.
1444
- * If containerName is given, it will find the nearest container with a matching name;
1445
- * otherwise it will find the nearest container regardless of its container name.
1443
+ * Returns the query container of the given node based on container query
1444
+ * conditions: containerName, physical, and logical axes. If no axes are
1445
+ * provided, the style container is returned, which is the direct parent or the
1446
+ * closest element with a matching container-name.
1446
1447
  */
1447
1448
  getContainerForNode(params: Protocol.DOM.GetContainerForNodeRequest): Promise<Protocol.DOM.GetContainerForNodeResponse>;
1448
1449
 
@@ -3317,6 +3318,11 @@ export namespace ProtocolProxyApi {
3317
3318
  */
3318
3319
  getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<Protocol.Storage.GetSharedStorageEntriesResponse>;
3319
3320
 
3321
+ /**
3322
+ * Sets entry with `key` and `value` for a given origin's shared storage.
3323
+ */
3324
+ setSharedStorageEntry(params: Protocol.Storage.SetSharedStorageEntryRequest): Promise<void>;
3325
+
3320
3326
  /**
3321
3327
  * Deletes entry for `key` (if it exists) for a given origin's shared storage.
3322
3328
  */
@@ -4511,6 +4511,14 @@ export namespace Protocol {
4511
4511
  * Optional name for the container.
4512
4512
  */
4513
4513
  name?: string;
4514
+ /**
4515
+ * Optional physical axes queried for the container.
4516
+ */
4517
+ physicalAxes?: DOM.PhysicalAxes;
4518
+ /**
4519
+ * Optional logical axes queried for the container.
4520
+ */
4521
+ logicalAxes?: DOM.LogicalAxes;
4514
4522
  }
4515
4523
 
4516
4524
  /**
@@ -5364,7 +5372,7 @@ export namespace Protocol {
5364
5372
  /**
5365
5373
  * Pseudo element type.
5366
5374
  */
5367
- export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'page-transition' | 'page-transition-container' | 'page-transition-image-wrapper' | 'page-transition-outgoing-image' | 'page-transition-incoming-image');
5375
+ export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | '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-old' | 'view-transition-new');
5368
5376
 
5369
5377
  /**
5370
5378
  * Shadow root type.
@@ -5376,6 +5384,16 @@ export namespace Protocol {
5376
5384
  */
5377
5385
  export type CompatibilityMode = ('QuirksMode' | 'LimitedQuirksMode' | 'NoQuirksMode');
5378
5386
 
5387
+ /**
5388
+ * ContainerSelector physical axes
5389
+ */
5390
+ export type PhysicalAxes = ('Horizontal' | 'Vertical' | 'Both');
5391
+
5392
+ /**
5393
+ * ContainerSelector logical axes
5394
+ */
5395
+ export type LogicalAxes = ('Inline' | 'Block' | 'Both');
5396
+
5379
5397
  /**
5380
5398
  * DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
5381
5399
  * DOMNode is a base node mirror type.
@@ -6293,6 +6311,8 @@ export namespace Protocol {
6293
6311
  export interface GetContainerForNodeRequest {
6294
6312
  nodeId: NodeId;
6295
6313
  containerName?: string;
6314
+ physicalAxes?: PhysicalAxes;
6315
+ logicalAxes?: LogicalAxes;
6296
6316
  }
6297
6317
 
6298
6318
  export interface GetContainerForNodeResponse {
@@ -14863,6 +14883,17 @@ export namespace Protocol {
14863
14883
  entries: SharedStorageEntry[];
14864
14884
  }
14865
14885
 
14886
+ export interface SetSharedStorageEntryRequest {
14887
+ ownerOrigin: string;
14888
+ key: string;
14889
+ value: string;
14890
+ /**
14891
+ * If `ignoreIfPresent` is included and true, then only sets the entry if
14892
+ * `key` doesn't already exist.
14893
+ */
14894
+ ignoreIfPresent?: boolean;
14895
+ }
14896
+
14866
14897
  export interface DeleteSharedStorageEntryRequest {
14867
14898
  ownerOrigin: string;
14868
14899
  key: string;