feat(webkit): roll to r1904 (#26855)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Playwright Service 2023-09-04 07:08:23 -07:00 committed by GitHub
parent f219f9fd41
commit 94c1b749b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -39,7 +39,7 @@
},
{
"name": "webkit",
"revision": "1902",
"revision": "1904",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446",

View File

@ -1297,6 +1297,14 @@ export module Protocol {
* The type of rendering context backing the canvas.
*/
contextType: ContextType;
/**
* Width of the canvas in pixels.
*/
width: number;
/**
* Height of the canvas in pixels.
*/
height: number;
/**
* The corresponding DOM node id.
*/
@ -1339,6 +1347,20 @@ export module Protocol {
*/
canvasId: CanvasId;
}
export type canvasSizeChangedPayload = {
/**
* Identifier of canvas that changed.
*/
canvasId: CanvasId;
/**
* Width of the canvas in pixels.
*/
width: number;
/**
* Height of the canvas in pixels.
*/
height: number;
}
export type canvasMemoryChangedPayload = {
/**
* Identifier of canvas that changed.
@ -9088,6 +9110,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"CSS.nodeLayoutFlagsChanged": CSS.nodeLayoutFlagsChangedPayload;
"Canvas.canvasAdded": Canvas.canvasAddedPayload;
"Canvas.canvasRemoved": Canvas.canvasRemovedPayload;
"Canvas.canvasSizeChanged": Canvas.canvasSizeChangedPayload;
"Canvas.canvasMemoryChanged": Canvas.canvasMemoryChangedPayload;
"Canvas.extensionEnabled": Canvas.extensionEnabledPayload;
"Canvas.clientNodesChanged": Canvas.clientNodesChangedPayload;