From 2d5762c842175c072ba67ce16a5ee425729287b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 23 Mar 2022 11:30:42 -0700 Subject: [PATCH] feat(webkit): roll to r1620 (#12971) --- packages/playwright-core/browsers.json | 2 +- .../src/server/webkit/protocol.d.ts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index 803d293938..00646ec935 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -23,7 +23,7 @@ }, { "name": "webkit", - "revision": "1619", + "revision": "1620", "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 6deff4563e..485ee114de 100644 --- a/packages/playwright-core/src/server/webkit/protocol.d.ts +++ b/packages/playwright-core/src/server/webkit/protocol.d.ts @@ -7262,6 +7262,21 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the */ loaderId?: Network.LoaderId; } + /** + * Grants read access for the specified files to the web process of the page. + */ + export type grantFileReadAccessParameters = { + /** + * Unique identifier of the page proxy. + */ + pageProxyId: PageProxyID; + /** + * Id of the frame to navigate. + */ + paths: string[]; + } + export type grantFileReadAccessReturnValue = { + } /** * Change whether all certificate errors should be ignored. */ @@ -9096,6 +9111,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Playwright.deleteContext": Playwright.deleteContextParameters; "Playwright.createPage": Playwright.createPageParameters; "Playwright.navigate": Playwright.navigateParameters; + "Playwright.grantFileReadAccess": Playwright.grantFileReadAccessParameters; "Playwright.setIgnoreCertificateErrors": Playwright.setIgnoreCertificateErrorsParameters; "Playwright.getAllCookies": Playwright.getAllCookiesParameters; "Playwright.setCookies": Playwright.setCookiesParameters; @@ -9397,6 +9413,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Playwright.deleteContext": Playwright.deleteContextReturnValue; "Playwright.createPage": Playwright.createPageReturnValue; "Playwright.navigate": Playwright.navigateReturnValue; + "Playwright.grantFileReadAccess": Playwright.grantFileReadAccessReturnValue; "Playwright.setIgnoreCertificateErrors": Playwright.setIgnoreCertificateErrorsReturnValue; "Playwright.getAllCookies": Playwright.getAllCookiesReturnValue; "Playwright.setCookies": Playwright.setCookiesReturnValue;