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): fix mac compilation take 2 (#5567)

Yury Semikhatsky11d3eb6bfe34
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER
index d5af4033cf..0e77973b63 100644
--- a/browser_patches/webkit/BUILD_NUMBER
+++ b/browser_patches/webkit/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1441
-Changed: [email protected] Tue 23 Feb 2021 02:48:34 PM PST
+1442
+Changed: [email protected] Tue 23 Feb 2021 04:00:56 PM PST
diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diff
index d46b56935c..e54bb89bb9 100644
--- a/browser_patches/webkit/patches/bootstrap.diff
+++ b/browser_patches/webkit/patches/bootstrap.diff
@@ -10864,6 +10864,19 @@ index f078994c0253b92e548c283879d88e44306fff76..9d70a9295af7f5b8003788dd7635932f
void UIDelegate::UIClient::requestStorageAccessConfirm(WebPageProxy& webPageProxy, WebFrameProxy*, const WebCore::RegistrableDomain& requestingDomain, const WebCore::RegistrableDomain& currentDomain, CompletionHandler<void(bool)>&& completionHandler)
{
if (!m_uiDelegate)
+diff --git a/Source/WebKit/UIProcess/Cocoa/WKBlankOverlayView.mm b/Source/WebKit/UIProcess/Cocoa/WKBlankOverlayView.mm
+index 77adfc78b4a1a93c112da563a70a1de1ee73b947..1754517afa1fdcb30a6b8ee7a81da2c40c36fcec 100644
+--- a/Source/WebKit/UIProcess/Cocoa/WKBlankOverlayView.mm
++++ b/Source/WebKit/UIProcess/Cocoa/WKBlankOverlayView.mm
+@@ -24,7 +24,7 @@
+ */
+
+ #import "config.h"
+-#import "WKBlankOverlayView.mm"
++#import "WKBlankOverlayView.h"
+
+ @implementation WKBlankOverlayView {
+ }
diff --git a/Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm b/Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
index 69ddc7c3576a1477c9fc44bc95b79aa5282b2f2c..e9591d0bcad2af54365e25ea3b7def880fbbd451 100644
--- a/Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm