Skip to content

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

browser(webkit): revert changes to WebAutomationSession.h (#4128)

Yury Semikhatsky71c444c59f0f
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER
index 48632b2fdc..e257a037f2 100644
--- a/browser_patches/webkit/BUILD_NUMBER
+++ b/browser_patches/webkit/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1353
-Changed: [email protected] Mon Oct 12 15:33:12 PDT 2020
+1354
+Changed: [email protected] Tue Oct 13 11:42:35 PDT 2020
diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diff
index 3571212f31..d270d28139 100644
--- a/browser_patches/webkit/patches/bootstrap.diff
+++ b/browser_patches/webkit/patches/bootstrap.diff
@@ -7766,27 +7766,6 @@ index 27c680d46428d349b0d1119f12da56ff283a60aa..1980aff7d662a1eea450d2db78b41f12
#include <wpe/WebKitContextMenu.h>
#include <wpe/WebKitContextMenuActions.h>
#include <wpe/WebKitContextMenuItem.h>
-diff --git a/Source/WebKit/UIProcess/Automation/WebAutomationSession.h b/Source/WebKit/UIProcess/Automation/WebAutomationSession.h
-index a3989ade59db267be2a8c41c469b8875dcd1c93c..bf153e33d00939d602157024425ee017394b0bac 100644
---- a/Source/WebKit/UIProcess/Automation/WebAutomationSession.h
-+++ b/Source/WebKit/UIProcess/Automation/WebAutomationSession.h
-@@ -218,6 +218,8 @@ public:
-
- void didDestroyFrame(WebCore::FrameIdentifier);
-
-+ static Optional<String> platformGetBase64EncodedPNGData(const ViewSnapshot&);
-+
- private:
- WebPageProxy* webPageProxyForHandle(const String&);
- String handleForWebPageProxy(const WebPageProxy&);
-@@ -266,7 +268,6 @@ private:
-
- // Get base64-encoded PNG data from a bitmap.
- static Optional<String> platformGetBase64EncodedPNGData(const ShareableBitmap::Handle&);
-- static Optional<String> platformGetBase64EncodedPNGData(const ViewSnapshot&);
-
- // Save base64-encoded file contents to a local file path and return the path.
- // This reuses the basename of the remote file path so that the filename exposed to DOM API remains the same.
diff --git a/Source/WebKit/UIProcess/BackingStore.h b/Source/WebKit/UIProcess/BackingStore.h
index fe3c63e61f778762dc2c2080c74ec53fdf8c2e5f..c43a8226c9be702e248f1712e465efa396ee8969 100644
--- a/Source/WebKit/UIProcess/BackingStore.h