From 029121a73194b33497bea437665e073f5a35f09a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:33:32 +0000 Subject: [PATCH] feat(webkit): roll to r2028 --- packages/playwright-core/browsers.json | 2 +- .../src/server/webkit/protocol.d.ts | 24 +++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index fc053c9b7a..cd0158d59d 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -27,7 +27,7 @@ }, { "name": "webkit", - "revision": "2022", + "revision": "2028", "installByDefault": true, "revisionOverrides": { "mac10.14": "1446", diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.ts index 0143edbf7f..ba9ba9e5d3 100644 --- a/packages/playwright-core/src/server/webkit/protocol.d.ts +++ b/packages/playwright-core/src/server/webkit/protocol.d.ts @@ -2122,6 +2122,10 @@ export module Protocol { * Array of DOMNode ids of any children marked as selected. */ selectedChildNodeIds?: NodeId[]; + /** + * On / off state of switch form controls. + */ + switchState?: "off"|"on"; } /** * A structure holding an RGBA color. @@ -4584,6 +4588,14 @@ might return multiple quads for inline nodes. } export type resetPermissionsReturnValue = { } + /** + * Overrides window.orientation with provided value. + */ + export type setOrientationOverrideParameters = { + angle?: number; + } + export type setOrientationOverrideReturnValue = { + } } /** @@ -7351,14 +7363,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the } export type crashReturnValue = { } - /** - * Overrides window.orientation with provided value. - */ - export type setOrientationOverrideParameters = { - angle?: number; - } - export type setOrientationOverrideReturnValue = { - } /** * Ensures that the scroll regions are up to date. */ @@ -9509,6 +9513,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Emulation.setActiveAndFocused": Emulation.setActiveAndFocusedParameters; "Emulation.grantPermissions": Emulation.grantPermissionsParameters; "Emulation.resetPermissions": Emulation.resetPermissionsParameters; + "Emulation.setOrientationOverride": Emulation.setOrientationOverrideParameters; "Heap.enable": Heap.enableParameters; "Heap.disable": Heap.disableParameters; "Heap.gc": Heap.gcParameters; @@ -9591,7 +9596,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Page.createUserWorld": Page.createUserWorldParameters; "Page.setBypassCSP": Page.setBypassCSPParameters; "Page.crash": Page.crashParameters; - "Page.setOrientationOverride": Page.setOrientationOverrideParameters; "Page.updateScrollingState": Page.updateScrollingStateParameters; "Playwright.enable": Playwright.enableParameters; "Playwright.disable": Playwright.disableParameters; @@ -9820,6 +9824,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Emulation.setActiveAndFocused": Emulation.setActiveAndFocusedReturnValue; "Emulation.grantPermissions": Emulation.grantPermissionsReturnValue; "Emulation.resetPermissions": Emulation.resetPermissionsReturnValue; + "Emulation.setOrientationOverride": Emulation.setOrientationOverrideReturnValue; "Heap.enable": Heap.enableReturnValue; "Heap.disable": Heap.disableReturnValue; "Heap.gc": Heap.gcReturnValue; @@ -9902,7 +9907,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Page.createUserWorld": Page.createUserWorldReturnValue; "Page.setBypassCSP": Page.setBypassCSPReturnValue; "Page.crash": Page.crashReturnValue; - "Page.setOrientationOverride": Page.setOrientationOverrideReturnValue; "Page.updateScrollingState": Page.updateScrollingStateReturnValue; "Playwright.enable": Playwright.enableReturnValue; "Playwright.disable": Playwright.disableReturnValue;