Title: [170341] trunk/Source/WebKit2
- Revision
- 170341
- Author
- m...@apple.com
- Date
- 2014-06-23 18:23:08 -0700 (Mon, 23 Jun 2014)
Log Message
<rdar://problem/17413374> [iOS] Application cache size per origin is not limited
https://bugs.webkit.org/show_bug.cgi?id=134229
Reviewed by Anders Carlsson.
* UIProcess/WebContext.cpp:
(WebKit::WebContext::createNewWebProcess): Set the default quota per origin to the same
value it is set in Legacy WebKit.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (170340 => 170341)
--- trunk/Source/WebKit2/ChangeLog 2014-06-24 00:56:43 UTC (rev 170340)
+++ trunk/Source/WebKit2/ChangeLog 2014-06-24 01:23:08 UTC (rev 170341)
@@ -1,3 +1,14 @@
+2014-06-23 Dan Bernstein <m...@apple.com>
+
+ <rdar://problem/17413374> [iOS] Application cache size per origin is not limited
+ https://bugs.webkit.org/show_bug.cgi?id=134229
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::createNewWebProcess): Set the default quota per origin to the same
+ value it is set in Legacy WebKit.
+
2014-06-23 Ryuan Choi <ryuan.c...@samsung.com>
Unreviewed, EFL build fix after r170330.
Modified: trunk/Source/WebKit2/UIProcess/WebContext.cpp (170340 => 170341)
--- trunk/Source/WebKit2/UIProcess/WebContext.cpp 2014-06-24 00:56:43 UTC (rev 170340)
+++ trunk/Source/WebKit2/UIProcess/WebContext.cpp 2014-06-24 01:23:08 UTC (rev 170341)
@@ -59,6 +59,7 @@
#include "WebProcessMessages.h"
#include "WebProcessProxy.h"
#include "WebResourceCacheManagerProxy.h"
+#include <WebCore/ApplicationCacheStorage.h>
#include <WebCore/Language.h>
#include <WebCore/LinkHash.h>
#include <WebCore/Logging.h>
@@ -643,6 +644,9 @@
#if PLATFORM(COCOA)
process->send(Messages::WebProcess::SetQOS(webProcessLatencyQOS(), webProcessThroughputQOS()), 0);
#endif
+#if PLATFORM(IOS)
+ cacheStorage().setDefaultOriginQuota(25ULL * 1024 * 1024);
+#endif
if (WebPreferences::anyPagesAreUsingPrivateBrowsing())
process->send(Messages::WebProcess::EnsurePrivateBrowsingSession(SessionID::legacyPrivateSessionID()), 0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes