Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
browser(webkit): fix the datastore leak (#4163)
Pavel Feldman26442c563c97
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex 97094d14ce..857dd6a662 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1,2 +1,2 @@-1359-Changed: [email protected] Thu Oct 15 14:23:29 PDT 2020+1360+Changed: [email protected] Thu Oct 15 14:25:29 PDT 2020diff --git a/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m b/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.mindex 054fce5f72..45d2309b76 100644--- a/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m+++ b/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m@@ -333,7 +333,7 @@ const NSActivityOptions ActivityOptions =if (!proxyBypassList || ![proxyBypassList length])proxyBypassList = _proxyBypassList;[dataStoreConfiguration setProxyConfiguration:[self proxyConfiguration:proxyServer WithBypassList:proxyBypassList]];- browserContext.dataStore = [[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration];+ browserContext.dataStore = [[[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration] autorelease];browserContext.processPool = [[[WKProcessPool alloc] _initWithConfiguration:processConfiguration] autorelease];[browserContext.processPool _setDownloadDelegate:self];[_browserContexts addObject:browserContext];