Title: [164956] trunk/Source/WebKit2
Revision
164956
Author
[email protected]
Date
2014-03-02 16:30:26 -0800 (Sun, 02 Mar 2014)

Log Message

Page Cache is not enabled when using the modern WebKit2 API
https://bugs.webkit.org/show_bug.cgi?id=129585

Reviewed by Dan Bernstein.

* UIProcess/API/Cocoa/WKProcessPool.mm:
(-[WKProcessPool initWithConfiguration:]):
Default to CacheModelPrimaryWebBrowser until there is a way to configure it.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (164955 => 164956)


--- trunk/Source/WebKit2/ChangeLog	2014-03-03 00:19:41 UTC (rev 164955)
+++ trunk/Source/WebKit2/ChangeLog	2014-03-03 00:30:26 UTC (rev 164956)
@@ -1,3 +1,14 @@
+2014-03-02  Sam Weinig  <[email protected]>
+
+        Page Cache is not enabled when using the modern WebKit2 API
+        https://bugs.webkit.org/show_bug.cgi?id=129585
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/API/Cocoa/WKProcessPool.mm:
+        (-[WKProcessPool initWithConfiguration:]):
+        Default to CacheModelPrimaryWebBrowser until there is a way to configure it.
+
 2014-03-02  Enrica Casucci  <[email protected]>
 
         [iOS WebKit2] Form controls handling

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm (164955 => 164956)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm	2014-03-03 00:19:41 UTC (rev 164955)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm	2014-03-03 00:30:26 UTC (rev 164956)
@@ -28,6 +28,7 @@
 
 #if WK_API_ENABLED
 
+#import "CacheModel.h"
 #import "HistoryClient.h"
 #import "ProcessModel.h"
 #import "WKObject.h"
@@ -73,6 +74,9 @@
     _context->setUsesNetworkProcess(true);
     _context->setProcessModel(WebKit::ProcessModelMultipleSecondaryProcesses);
 
+    // FIXME: Add a way to configure the cache model, see <rdar://problem/16206857>.
+    _context->setCacheModel(WebKit::CacheModelPrimaryWebBrowser);
+
     return self;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to