Title: [224401] trunk/Tools
- Revision
- 224401
- Author
- jbed...@apple.com
- Date
- 2017-11-03 09:33:58 -0700 (Fri, 03 Nov 2017)
Log Message
TestController platformAdjustContext should use provided WKContext for Mac
https://bugs.webkit.org/show_bug.cgi?id=179124
<rdar://problem/35295176>
Reviewed by Darin Adler.
* WebKitTestRunner/cocoa/TestControllerCocoa.mm:
(WTR::initializeWebViewConfiguration): Use the provided WKContext, since that is
a WebProcessPool, instead of creating a second one.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (224400 => 224401)
--- trunk/Tools/ChangeLog 2017-11-03 16:27:37 UTC (rev 224400)
+++ trunk/Tools/ChangeLog 2017-11-03 16:33:58 UTC (rev 224401)
@@ -1,3 +1,15 @@
+2017-11-03 Jonathan Bedard <jbed...@apple.com>
+
+ TestController platformAdjustContext should use provided WKContext for Mac
+ https://bugs.webkit.org/show_bug.cgi?id=179124
+ <rdar://problem/35295176>
+
+ Reviewed by Darin Adler.
+
+ * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
+ (WTR::initializeWebViewConfiguration): Use the provided WKContext, since that is
+ a WebProcessPool, instead of creating a second one.
+
2017-11-02 Christopher Reid <chris.r...@sony.com>
Add a FileSystem namespace to FileSystem.cpp
Modified: trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm (224400 => 224401)
--- trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm 2017-11-03 16:27:37 UTC (rev 224400)
+++ trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm 2017-11-03 16:33:58 UTC (rev 224401)
@@ -67,7 +67,7 @@
[globalWebViewConfiguration release];
globalWebViewConfiguration = [[WKWebViewConfiguration alloc] init];
- globalWebViewConfiguration.processPool = WTF::adoptNS([[WKProcessPool alloc] _initWithConfiguration:(_WKProcessPoolConfiguration *)contextConfiguration]).get();
+ globalWebViewConfiguration.processPool = (WKProcessPool *)context;
globalWebViewConfiguration.websiteDataStore = (WKWebsiteDataStore *)WKContextGetWebsiteDataStore(context);
globalWebViewConfiguration._allowUniversalAccessFromFileURLs = YES;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes