⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 170341 in webkit


Ignore:
Timestamp:
Jun 23, 2014, 6:23:08 PM (12 years ago)
Author:
mitz@apple.com
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.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r170338 r170341  
     12014-06-23  Dan Bernstein  <mitz@apple.com>
     2
     3        <rdar://problem/17413374> [iOS] Application cache size per origin is not limited
     4        https://bugs.webkit.org/show_bug.cgi?id=134229
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * UIProcess/WebContext.cpp:
     9        (WebKit::WebContext::createNewWebProcess): Set the default quota per origin to the same
     10        value it is set in Legacy WebKit.
     11
    1122014-06-23  Ryuan Choi  <ryuan.choi@samsung.com>
    213
  • trunk/Source/WebKit2/UIProcess/WebContext.cpp

    r170313 r170341  
    6060#include "WebProcessProxy.h"
    6161#include "WebResourceCacheManagerProxy.h"
     62#include <WebCore/ApplicationCacheStorage.h>
    6263#include <WebCore/Language.h>
    6364#include <WebCore/LinkHash.h>
     
    644645    process->send(Messages::WebProcess::SetQOS(webProcessLatencyQOS(), webProcessThroughputQOS()), 0);
    645646#endif
     647#if PLATFORM(IOS)
     648    cacheStorage().setDefaultOriginQuota(25ULL * 1024 * 1024);
     649#endif
    646650
    647651    if (WebPreferences::anyPagesAreUsingPrivateBrowsing())
Note: See TracChangeset for help on using the changeset viewer.