Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

feat(webkit): roll to r1572 (#10030)

github-actions[bot]a1f5131501ec
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index dd3833675d..b5eba81807 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -23,7 +23,7 @@
},
{
"name": "webkit",
- "revision": "1570",
+ "revision": "1572",
"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 35f36b032f..c9ae1db26a 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -5748,21 +5748,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
*/
base64Encoded: boolean;
}
- /**
- * Returns content served for the given request. Will wait for the request to finish loading.
- */
- export type getInterceptedResponseBodyParameters = {
- /**
- * Identifier of the intercepted network response's request.
- */
- requestId: RequestId;
- }
- export type getInterceptedResponseBodyReturnValue = {
- /**
- * Base64 encoded response body.
- */
- body: string;
- }
/**
* Toggles whether the resource cache may be used when loading resources in the inspected page. If <code>true</code>, the resource cache will not be used when loading resources.
*/
@@ -5957,21 +5942,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type interceptWithResponseReturnValue = {
}
- /**
- * Fail response with given error type.
- */
- export type interceptResponseWithErrorParameters = {
- /**
- * Identifier for the intercepted Network response to fail.
- */
- requestId: RequestId;
- /**
- * Deliver error reason for the request failure.
- */
- errorType: ResourceErrorType;
- }
- export type interceptResponseWithErrorReturnValue = {
- }
/**
* Provide response for an intercepted request. Request completely bypasses the network in this case and is immediately fulfilled with the provided data.
*/
@@ -9036,7 +9006,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Network.disable": Network.disableParameters;
"Network.setExtraHTTPHeaders": Network.setExtraHTTPHeadersParameters;
"Network.getResponseBody": Network.getResponseBodyParameters;
- "Network.getInterceptedResponseBody": Network.getInterceptedResponseBodyParameters;
"Network.setResourceCachingDisabled": Network.setResourceCachingDisabledParameters;
"Network.loadResource": Network.loadResourceParameters;
"Network.getSerializedCertificate": Network.getSerializedCertificateParameters;
@@ -9047,7 +9016,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Network.interceptContinue": Network.interceptContinueParameters;
"Network.interceptWithRequest": Network.interceptWithRequestParameters;
"Network.interceptWithResponse": Network.interceptWithResponseParameters;
- "Network.interceptResponseWithError": Network.interceptResponseWithErrorParameters;
"Network.interceptRequestWithResponse": Network.interceptRequestWithResponseParameters;
"Network.interceptRequestWithError": Network.interceptRequestWithErrorParameters;
"Network.setEmulateOfflineState": Network.setEmulateOfflineStateParameters;
@@ -9338,7 +9306,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Network.disable": Network.disableReturnValue;
"Network.setExtraHTTPHeaders": Network.setExtraHTTPHeadersReturnValue;
"Network.getResponseBody": Network.getResponseBodyReturnValue;
- "Network.getInterceptedResponseBody": Network.getInterceptedResponseBodyReturnValue;
"Network.setResourceCachingDisabled": Network.setResourceCachingDisabledReturnValue;
"Network.loadResource": Network.loadResourceReturnValue;
"Network.getSerializedCertificate": Network.getSerializedCertificateReturnValue;
@@ -9349,7 +9316,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Network.interceptContinue": Network.interceptContinueReturnValue;
"Network.interceptWithRequest": Network.interceptWithRequestReturnValue;
"Network.interceptWithResponse": Network.interceptWithResponseReturnValue;
- "Network.interceptResponseWithError": Network.interceptResponseWithErrorReturnValue;
"Network.interceptRequestWithResponse": Network.interceptRequestWithResponseReturnValue;
"Network.interceptRequestWithError": Network.interceptRequestWithErrorReturnValue;
"Network.setEmulateOfflineState": Network.setEmulateOfflineStateReturnValue;