browser(webkit): explicitly track pages reported for context (#3574)

This commit is contained in:
Yury Semikhatsky 2020-08-21 19:59:53 -07:00 committed by GitHub
parent 6fe1cd9812
commit 93d8839947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 427 additions and 388 deletions

View file

@ -1,2 +1,2 @@
1327
Changed: clopez@igalia.com Fri Aug 21 14:40:43 CEST 2020
1328
Changed: yurys@chromium.org Fri Aug 21 19:21:58 PDT 2020

View file

@ -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;
}

File diff suppressed because it is too large Load diff