devtools-protocol 0.0.898382 → 0.0.900357
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.
- package/changelog.md +17 -0
- package/json/browser_protocol.json +53 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +21 -0
- package/types/protocol-mapping.d.ts +4 -0
- package/types/protocol-proxy-api.d.ts +2 -0
- package/types/protocol.d.ts +33 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## Roll protocol to r900033
|
|
4
|
+
###### _2021-07-09 09:16:22_ | Diff: [cbb20a9...db8965f](https://github.com/ChromeDevTools/devtools-protocol/compare/cbb20a9...db8965f)
|
|
5
|
+
#### `Overlay`: new command
|
|
6
|
+
* [`Overlay.setShowContainerQueryOverlays`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowContainerQueryOverlays)
|
|
7
|
+
#### `Overlay`: new types
|
|
8
|
+
* [`Overlay.ContainerQueryHighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-ContainerQueryHighlightConfig)
|
|
9
|
+
* [`Overlay.ContainerQueryContainerHighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-ContainerQueryContainerHighlightConfig)
|
|
10
|
+
#### `Overlay`: modified type
|
|
11
|
+
* [`Overlay.HighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-HighlightConfig) - The properties's `containerQueryContainerHighlightConfig` _added_.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Roll protocol to r898382
|
|
15
|
+
###### _2021-07-02 16:16:12_ | Diff: [b531de2...c935633](https://github.com/ChromeDevTools/devtools-protocol/compare/b531de2...c935633)
|
|
16
|
+
#### `DOM`: modified type
|
|
17
|
+
* [`DOM.PseudoType`](https://chromedevtools.github.io/devtools-protocol/tot/DOM/#type-PseudoType) - The enum's `first-line-inherited` _updated_. The enum's `scrollbar` _updated_. The enum's `scrollbar-thumb` _updated_. The enum's `scrollbar-button` _updated_. The enum's `scrollbar-track` _updated_. The enum's `scrollbar-track-piece` _updated_. The enum's `scrollbar-corner` _updated_. The enum's `resizer` _updated_. The enum's `input-list-button` _updated_. The enum's `input-list-button` _added_.
|
|
18
|
+
|
|
19
|
+
|
|
3
20
|
## Roll protocol to r898124
|
|
4
21
|
###### _2021-07-02 05:16:12_ | Diff: [6814a59...b531de2](https://github.com/ChromeDevTools/devtools-protocol/compare/6814a59...b531de2)
|
|
5
22
|
#### `Audits`: new type
|
|
@@ -6647,6 +6647,12 @@
|
|
|
6647
6647
|
"type": "integer"
|
|
6648
6648
|
}
|
|
6649
6649
|
},
|
|
6650
|
+
{
|
|
6651
|
+
"name": "shadowRootType",
|
|
6652
|
+
"description": "Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.",
|
|
6653
|
+
"optional": true,
|
|
6654
|
+
"$ref": "RareStringData"
|
|
6655
|
+
},
|
|
6650
6656
|
{
|
|
6651
6657
|
"name": "nodeName",
|
|
6652
6658
|
"description": "`Node`'s nodeName.",
|
|
@@ -13530,6 +13536,12 @@
|
|
|
13530
13536
|
"description": "The contrast algorithm to use for the contrast ratio (default: aa).",
|
|
13531
13537
|
"optional": true,
|
|
13532
13538
|
"$ref": "ContrastAlgorithm"
|
|
13539
|
+
},
|
|
13540
|
+
{
|
|
13541
|
+
"name": "containerQueryContainerHighlightConfig",
|
|
13542
|
+
"description": "The container query container highlight configuration (default: all transparent).",
|
|
13543
|
+
"optional": true,
|
|
13544
|
+
"$ref": "ContainerQueryContainerHighlightConfig"
|
|
13533
13545
|
}
|
|
13534
13546
|
]
|
|
13535
13547
|
},
|
|
@@ -13645,6 +13657,34 @@
|
|
|
13645
13657
|
}
|
|
13646
13658
|
]
|
|
13647
13659
|
},
|
|
13660
|
+
{
|
|
13661
|
+
"id": "ContainerQueryHighlightConfig",
|
|
13662
|
+
"type": "object",
|
|
13663
|
+
"properties": [
|
|
13664
|
+
{
|
|
13665
|
+
"name": "containerQueryContainerHighlightConfig",
|
|
13666
|
+
"description": "A descriptor for the highlight appearance of container query containers.",
|
|
13667
|
+
"$ref": "ContainerQueryContainerHighlightConfig"
|
|
13668
|
+
},
|
|
13669
|
+
{
|
|
13670
|
+
"name": "nodeId",
|
|
13671
|
+
"description": "Identifier of the container node to highlight.",
|
|
13672
|
+
"$ref": "DOM.NodeId"
|
|
13673
|
+
}
|
|
13674
|
+
]
|
|
13675
|
+
},
|
|
13676
|
+
{
|
|
13677
|
+
"id": "ContainerQueryContainerHighlightConfig",
|
|
13678
|
+
"type": "object",
|
|
13679
|
+
"properties": [
|
|
13680
|
+
{
|
|
13681
|
+
"name": "containerBorder",
|
|
13682
|
+
"description": "The style of the container border",
|
|
13683
|
+
"optional": true,
|
|
13684
|
+
"$ref": "LineStyle"
|
|
13685
|
+
}
|
|
13686
|
+
]
|
|
13687
|
+
},
|
|
13648
13688
|
{
|
|
13649
13689
|
"id": "InspectMode",
|
|
13650
13690
|
"type": "string",
|
|
@@ -14000,6 +14040,19 @@
|
|
|
14000
14040
|
}
|
|
14001
14041
|
]
|
|
14002
14042
|
},
|
|
14043
|
+
{
|
|
14044
|
+
"name": "setShowContainerQueryOverlays",
|
|
14045
|
+
"parameters": [
|
|
14046
|
+
{
|
|
14047
|
+
"name": "containerQueryHighlightConfigs",
|
|
14048
|
+
"description": "An array of node identifiers and descriptors for the highlight appearance.",
|
|
14049
|
+
"type": "array",
|
|
14050
|
+
"items": {
|
|
14051
|
+
"$ref": "ContainerQueryHighlightConfig"
|
|
14052
|
+
}
|
|
14053
|
+
}
|
|
14054
|
+
]
|
|
14055
|
+
},
|
|
14003
14056
|
{
|
|
14004
14057
|
"name": "setShowPaintRects",
|
|
14005
14058
|
"description": "Requests that backend shows paint rectangles",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -3050,6 +3050,8 @@ experimental domain DOMSnapshot
|
|
|
3050
3050
|
optional array of integer parentIndex
|
|
3051
3051
|
# `Node`'s nodeType.
|
|
3052
3052
|
optional array of integer nodeType
|
|
3053
|
+
# Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
|
|
3054
|
+
optional RareStringData shadowRootType
|
|
3053
3055
|
# `Node`'s nodeName.
|
|
3054
3056
|
optional array of StringIndex nodeName
|
|
3055
3057
|
# `Node`'s nodeValue.
|
|
@@ -6223,6 +6225,8 @@ experimental domain Overlay
|
|
|
6223
6225
|
optional FlexItemHighlightConfig flexItemHighlightConfig
|
|
6224
6226
|
# The contrast algorithm to use for the contrast ratio (default: aa).
|
|
6225
6227
|
optional ContrastAlgorithm contrastAlgorithm
|
|
6228
|
+
# The container query container highlight configuration (default: all transparent).
|
|
6229
|
+
optional ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig
|
|
6226
6230
|
|
|
6227
6231
|
type ColorFormat extends string
|
|
6228
6232
|
enum
|
|
@@ -6273,6 +6277,18 @@ experimental domain Overlay
|
|
|
6273
6277
|
# The content box highlight outline color (default: transparent).
|
|
6274
6278
|
optional DOM.RGBA outlineColor
|
|
6275
6279
|
|
|
6280
|
+
type ContainerQueryHighlightConfig extends object
|
|
6281
|
+
properties
|
|
6282
|
+
# A descriptor for the highlight appearance of container query containers.
|
|
6283
|
+
ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig
|
|
6284
|
+
# Identifier of the container node to highlight.
|
|
6285
|
+
DOM.NodeId nodeId
|
|
6286
|
+
|
|
6287
|
+
type ContainerQueryContainerHighlightConfig extends object
|
|
6288
|
+
properties
|
|
6289
|
+
# The style of the container border
|
|
6290
|
+
optional LineStyle containerBorder
|
|
6291
|
+
|
|
6276
6292
|
type InspectMode extends string
|
|
6277
6293
|
enum
|
|
6278
6294
|
searchForNode
|
|
@@ -6438,6 +6454,11 @@ experimental domain Overlay
|
|
|
6438
6454
|
# An array of node identifiers and descriptors for the highlight appearance.
|
|
6439
6455
|
array of ScrollSnapHighlightConfig scrollSnapHighlightConfigs
|
|
6440
6456
|
|
|
6457
|
+
command setShowContainerQueryOverlays
|
|
6458
|
+
parameters
|
|
6459
|
+
# An array of node identifiers and descriptors for the highlight appearance.
|
|
6460
|
+
array of ContainerQueryHighlightConfig containerQueryHighlightConfigs
|
|
6461
|
+
|
|
6441
6462
|
# Requests that backend shows paint rectangles
|
|
6442
6463
|
command setShowPaintRects
|
|
6443
6464
|
parameters
|
|
@@ -3268,6 +3268,10 @@ export namespace ProtocolMapping {
|
|
|
3268
3268
|
paramsType: [Protocol.Overlay.SetShowScrollSnapOverlaysRequest];
|
|
3269
3269
|
returnType: void;
|
|
3270
3270
|
};
|
|
3271
|
+
'Overlay.setShowContainerQueryOverlays': {
|
|
3272
|
+
paramsType: [Protocol.Overlay.SetShowContainerQueryOverlaysRequest];
|
|
3273
|
+
returnType: void;
|
|
3274
|
+
};
|
|
3271
3275
|
/**
|
|
3272
3276
|
* Requests that backend shows paint rectangles
|
|
3273
3277
|
*/
|
|
@@ -2511,6 +2511,8 @@ export namespace ProtocolProxyApi {
|
|
|
2511
2511
|
|
|
2512
2512
|
setShowScrollSnapOverlays(params: Protocol.Overlay.SetShowScrollSnapOverlaysRequest): Promise<void>;
|
|
2513
2513
|
|
|
2514
|
+
setShowContainerQueryOverlays(params: Protocol.Overlay.SetShowContainerQueryOverlaysRequest): Promise<void>;
|
|
2515
|
+
|
|
2514
2516
|
/**
|
|
2515
2517
|
* Requests that backend shows paint rectangles
|
|
2516
2518
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -6669,6 +6669,10 @@ export namespace Protocol {
|
|
|
6669
6669
|
* `Node`'s nodeType.
|
|
6670
6670
|
*/
|
|
6671
6671
|
nodeType?: integer[];
|
|
6672
|
+
/**
|
|
6673
|
+
* Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
|
|
6674
|
+
*/
|
|
6675
|
+
shadowRootType?: RareStringData;
|
|
6672
6676
|
/**
|
|
6673
6677
|
* `Node`'s nodeName.
|
|
6674
6678
|
*/
|
|
@@ -11201,6 +11205,10 @@ export namespace Protocol {
|
|
|
11201
11205
|
* The contrast algorithm to use for the contrast ratio (default: aa).
|
|
11202
11206
|
*/
|
|
11203
11207
|
contrastAlgorithm?: ContrastAlgorithm;
|
|
11208
|
+
/**
|
|
11209
|
+
* The container query container highlight configuration (default: all transparent).
|
|
11210
|
+
*/
|
|
11211
|
+
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
|
11204
11212
|
}
|
|
11205
11213
|
|
|
11206
11214
|
export type ColorFormat = ('rgb' | 'hsl' | 'hex');
|
|
@@ -11278,6 +11286,24 @@ export namespace Protocol {
|
|
|
11278
11286
|
outlineColor?: DOM.RGBA;
|
|
11279
11287
|
}
|
|
11280
11288
|
|
|
11289
|
+
export interface ContainerQueryHighlightConfig {
|
|
11290
|
+
/**
|
|
11291
|
+
* A descriptor for the highlight appearance of container query containers.
|
|
11292
|
+
*/
|
|
11293
|
+
containerQueryContainerHighlightConfig: ContainerQueryContainerHighlightConfig;
|
|
11294
|
+
/**
|
|
11295
|
+
* Identifier of the container node to highlight.
|
|
11296
|
+
*/
|
|
11297
|
+
nodeId: DOM.NodeId;
|
|
11298
|
+
}
|
|
11299
|
+
|
|
11300
|
+
export interface ContainerQueryContainerHighlightConfig {
|
|
11301
|
+
/**
|
|
11302
|
+
* The style of the container border
|
|
11303
|
+
*/
|
|
11304
|
+
containerBorder?: LineStyle;
|
|
11305
|
+
}
|
|
11306
|
+
|
|
11281
11307
|
export type InspectMode = ('searchForNode' | 'searchForUAShadowDOM' | 'captureAreaScreenshot' | 'showDistances' | 'none');
|
|
11282
11308
|
|
|
11283
11309
|
export interface GetHighlightObjectForTestRequest {
|
|
@@ -11498,6 +11524,13 @@ export namespace Protocol {
|
|
|
11498
11524
|
scrollSnapHighlightConfigs: ScrollSnapHighlightConfig[];
|
|
11499
11525
|
}
|
|
11500
11526
|
|
|
11527
|
+
export interface SetShowContainerQueryOverlaysRequest {
|
|
11528
|
+
/**
|
|
11529
|
+
* An array of node identifiers and descriptors for the highlight appearance.
|
|
11530
|
+
*/
|
|
11531
|
+
containerQueryHighlightConfigs: ContainerQueryHighlightConfig[];
|
|
11532
|
+
}
|
|
11533
|
+
|
|
11501
11534
|
export interface SetShowPaintRectsRequest {
|
|
11502
11535
|
/**
|
|
11503
11536
|
* True for showing paint rectangles
|