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 (#3598)

Yury Semikhatsky4f1f97214318
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER
index 598f56ef57..188b1740c2 100644
--- a/browser_patches/webkit/BUILD_NUMBER
+++ b/browser_patches/webkit/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1328
-Changed: [email protected] Fri Aug 21 19:21:58 PDT 2020
+1329
+Changed: [email protected] Mon Aug 24 08:55:27 PDT 2020
diff --git a/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m b/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m
index 19ed71c861..e9a16afaa6 100644
--- a/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m
+++ b/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m
@@ -333,9 +333,9 @@ const NSActivityOptions ActivityOptions =
if (!proxyBypassList || ![proxyBypassList length])
proxyBypassList = _proxyBypassList;
[dataStoreConfiguration setProxyConfiguration:[self proxyConfiguration:proxyServer WithBypassList:proxyBypassList]];
- browserContext->dataStore = [[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration];
- browserContext->processPool = [[[WKProcessPool alloc] _initWithConfiguration:processConfiguration] autorelease];
- [browserContext->processPool _setDownloadDelegate:self];
+ browserContext.dataStore = [[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration];
+ browserContext.processPool = [[[WKProcessPool alloc] _initWithConfiguration:processConfiguration] autorelease];
+ [browserContext.processPool _setDownloadDelegate:self];
[_browserContexts addObject:browserContext];
return browserContext;
}