mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat(webkit): roll to r1798 (#20975)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
37323f4e46
commit
b3c4750547
@ -33,7 +33,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webkit",
|
"name": "webkit",
|
||||||
"revision": "1792",
|
"revision": "1798",
|
||||||
"installByDefault": true,
|
"installByDefault": true,
|
||||||
"revisionOverrides": {
|
"revisionOverrides": {
|
||||||
"mac10.14": "1446",
|
"mac10.14": "1446",
|
||||||
|
|||||||
@ -2126,6 +2126,48 @@ export module Protocol {
|
|||||||
*/
|
*/
|
||||||
marginColor?: RGBAColor;
|
marginColor?: RGBAColor;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Configuration data for grid overlays.
|
||||||
|
*/
|
||||||
|
export interface GridOverlayConfig {
|
||||||
|
/**
|
||||||
|
* The primary color to use for the grid overlay.
|
||||||
|
*/
|
||||||
|
gridColor: RGBAColor;
|
||||||
|
/**
|
||||||
|
* Show labels for grid line names. If not specified, the default value is false.
|
||||||
|
*/
|
||||||
|
showLineNames?: boolean;
|
||||||
|
/**
|
||||||
|
* Show labels for grid line numbers. If not specified, the default value is false.
|
||||||
|
*/
|
||||||
|
showLineNumbers?: boolean;
|
||||||
|
/**
|
||||||
|
* Show grid lines that extend beyond the bounds of the grid. If not specified, the default value is false.
|
||||||
|
*/
|
||||||
|
showExtendedGridLines?: boolean;
|
||||||
|
/**
|
||||||
|
* Show grid track size information. If not specified, the default value is false.
|
||||||
|
*/
|
||||||
|
showTrackSizes?: boolean;
|
||||||
|
/**
|
||||||
|
* Show labels for grid area names. If not specified, the default value is false.
|
||||||
|
*/
|
||||||
|
showAreaNames?: boolean;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Configuration data for flex overlays.
|
||||||
|
*/
|
||||||
|
export interface FlexOverlayConfig {
|
||||||
|
/**
|
||||||
|
* The primary color to use for the flex overlay.
|
||||||
|
*/
|
||||||
|
flexColor: RGBAColor;
|
||||||
|
/**
|
||||||
|
* Show labels for flex order. If not specified, the default value is false.
|
||||||
|
*/
|
||||||
|
showOrderNumbers?: boolean;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* An object referencing a node and a pseudo-element, primarily used to identify an animation effect target.
|
* An object referencing a node and a pseudo-element, primarily used to identify an animation effect target.
|
||||||
*/
|
*/
|
||||||
@ -2770,6 +2812,14 @@ export module Protocol {
|
|||||||
* A descriptor for the highlight appearance of hovered-over nodes. May be omitted if <code>enabled == false</code>.
|
* A descriptor for the highlight appearance of hovered-over nodes. May be omitted if <code>enabled == false</code>.
|
||||||
*/
|
*/
|
||||||
highlightConfig?: HighlightConfig;
|
highlightConfig?: HighlightConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a grid overlay shown during element selection. This overrides DOM.showGridOverlay.
|
||||||
|
*/
|
||||||
|
gridOverlayConfig?: GridOverlayConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a flex overlay shown during element selection. This overrides DOM.showFlexOverlay.
|
||||||
|
*/
|
||||||
|
flexOverlayConfig?: FlexOverlayConfig;
|
||||||
/**
|
/**
|
||||||
* Whether the rulers should be shown during element selection. This overrides Page.setShowRulers.
|
* Whether the rulers should be shown during element selection. This overrides Page.setShowRulers.
|
||||||
*/
|
*/
|
||||||
@ -2839,10 +2889,6 @@ export module Protocol {
|
|||||||
* Highlights all DOM nodes that match a given selector. A string containing a CSS selector must be specified.
|
* Highlights all DOM nodes that match a given selector. A string containing a CSS selector must be specified.
|
||||||
*/
|
*/
|
||||||
export type highlightSelectorParameters = {
|
export type highlightSelectorParameters = {
|
||||||
/**
|
|
||||||
* A descriptor for the highlight appearance.
|
|
||||||
*/
|
|
||||||
highlightConfig: HighlightConfig;
|
|
||||||
/**
|
/**
|
||||||
* A CSS selector for finding matching nodes to highlight.
|
* A CSS selector for finding matching nodes to highlight.
|
||||||
*/
|
*/
|
||||||
@ -2851,6 +2897,18 @@ export module Protocol {
|
|||||||
* Identifier of the frame which will be searched using the selector. If not provided, the main frame will be used.
|
* Identifier of the frame which will be searched using the selector. If not provided, the main frame will be used.
|
||||||
*/
|
*/
|
||||||
frameId?: string;
|
frameId?: string;
|
||||||
|
/**
|
||||||
|
* A descriptor for the highlight appearance.
|
||||||
|
*/
|
||||||
|
highlightConfig: HighlightConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a grid overlay shown during element selection. This overrides DOM.showGridOverlay.
|
||||||
|
*/
|
||||||
|
gridOverlayConfig?: GridOverlayConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a flex overlay shown during element selection. This overrides DOM.showFlexOverlay.
|
||||||
|
*/
|
||||||
|
flexOverlayConfig?: FlexOverlayConfig;
|
||||||
}
|
}
|
||||||
export type highlightSelectorReturnValue = {
|
export type highlightSelectorReturnValue = {
|
||||||
}
|
}
|
||||||
@ -2858,10 +2916,6 @@ export module Protocol {
|
|||||||
* Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
|
* Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
|
||||||
*/
|
*/
|
||||||
export type highlightNodeParameters = {
|
export type highlightNodeParameters = {
|
||||||
/**
|
|
||||||
* A descriptor for the highlight appearance.
|
|
||||||
*/
|
|
||||||
highlightConfig: HighlightConfig;
|
|
||||||
/**
|
/**
|
||||||
* Identifier of the node to highlight.
|
* Identifier of the node to highlight.
|
||||||
*/
|
*/
|
||||||
@ -2870,6 +2924,18 @@ export module Protocol {
|
|||||||
* JavaScript object id of the node to be highlighted.
|
* JavaScript object id of the node to be highlighted.
|
||||||
*/
|
*/
|
||||||
objectId?: Runtime.RemoteObjectId;
|
objectId?: Runtime.RemoteObjectId;
|
||||||
|
/**
|
||||||
|
* A descriptor for the highlight appearance.
|
||||||
|
*/
|
||||||
|
highlightConfig: HighlightConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a grid overlay shown during element selection. This overrides DOM.showGridOverlay.
|
||||||
|
*/
|
||||||
|
gridOverlayConfig?: GridOverlayConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a flex overlay shown during element selection. This overrides DOM.showFlexOverlay.
|
||||||
|
*/
|
||||||
|
flexOverlayConfig?: FlexOverlayConfig;
|
||||||
}
|
}
|
||||||
export type highlightNodeReturnValue = {
|
export type highlightNodeReturnValue = {
|
||||||
}
|
}
|
||||||
@ -2879,6 +2945,14 @@ export module Protocol {
|
|||||||
export type highlightNodeListParameters = {
|
export type highlightNodeListParameters = {
|
||||||
nodeIds: NodeId[];
|
nodeIds: NodeId[];
|
||||||
highlightConfig: HighlightConfig;
|
highlightConfig: HighlightConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a grid overlay shown during element selection. This overrides DOM.showGridOverlay.
|
||||||
|
*/
|
||||||
|
gridOverlayConfig?: GridOverlayConfig;
|
||||||
|
/**
|
||||||
|
* If provided, used to configure a flex overlay shown during element selection. This overrides DOM.showFlexOverlay.
|
||||||
|
*/
|
||||||
|
flexOverlayConfig?: FlexOverlayConfig;
|
||||||
}
|
}
|
||||||
export type highlightNodeListReturnValue = {
|
export type highlightNodeListReturnValue = {
|
||||||
}
|
}
|
||||||
@ -2917,29 +2991,9 @@ export module Protocol {
|
|||||||
*/
|
*/
|
||||||
nodeId: NodeId;
|
nodeId: NodeId;
|
||||||
/**
|
/**
|
||||||
* The primary color to use for the grid overlay.
|
* Configuration options for the grid overlay.
|
||||||
*/
|
*/
|
||||||
gridColor: RGBAColor;
|
gridOverlayConfig: GridOverlayConfig;
|
||||||
/**
|
|
||||||
* Show labels for grid line names. If not specified, the default value is false.
|
|
||||||
*/
|
|
||||||
showLineNames?: boolean;
|
|
||||||
/**
|
|
||||||
* Show labels for grid line numbers. If not specified, the default value is false.
|
|
||||||
*/
|
|
||||||
showLineNumbers?: boolean;
|
|
||||||
/**
|
|
||||||
* Show grid lines that extend beyond the bounds of the grid. If not specified, the default value is false.
|
|
||||||
*/
|
|
||||||
showExtendedGridLines?: boolean;
|
|
||||||
/**
|
|
||||||
* Show grid track size information. If not specified, the default value is false.
|
|
||||||
*/
|
|
||||||
showTrackSizes?: boolean;
|
|
||||||
/**
|
|
||||||
* Show labels for grid area names. If not specified, the default value is false.
|
|
||||||
*/
|
|
||||||
showAreaNames?: boolean;
|
|
||||||
}
|
}
|
||||||
export type showGridOverlayReturnValue = {
|
export type showGridOverlayReturnValue = {
|
||||||
}
|
}
|
||||||
@ -2963,13 +3017,9 @@ export module Protocol {
|
|||||||
*/
|
*/
|
||||||
nodeId: NodeId;
|
nodeId: NodeId;
|
||||||
/**
|
/**
|
||||||
* The primary color to use for the flex overlay.
|
* Configuration options for the flex overlay.
|
||||||
*/
|
*/
|
||||||
flexColor: RGBAColor;
|
flexOverlayConfig: FlexOverlayConfig;
|
||||||
/**
|
|
||||||
* Show labels for flex order. If not specified, the default value is false.
|
|
||||||
*/
|
|
||||||
showOrderNumbers?: boolean;
|
|
||||||
}
|
}
|
||||||
export type showFlexOverlayReturnValue = {
|
export type showFlexOverlayReturnValue = {
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user