[Webkit-unassigned] [Bug 136417] Pruning of live cached images should not remove images on the display.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 2 18:51:32 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=136417





--- Comment #6 from Daewoong Jang <daewoong.jang at navercorp.com>  2014-09-02 18:51:37 PST ---
(In reply to comment #5)
> (From update of attachment 237472 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=237472&action=review
> 
> > LayoutTests/loader/prune-live-cached-image.html:41
> > +    <!-- Assumes capacity of WebCore::MemoryCache == 8M(Which is from WebCore::cDefaultCacheCapacity). -->
> 
> It's actually much higher and is based on the amount of RAM on the machine. We call MemoryCache::setCapacities() to bump it up. For WebKit2, see Source/WebKit2/Shared/CacheModel.cpp. It also depends on the mode you're in e.g. Safari will have a bigger cache (128MB on a machine with more than 2GB RAM) than an app using a WKWebView (96MB).
> 
> I tried hardcoding a limit of 8MB but was unable to reproduce the crash on Mac.

This test case is not meant to reproduce crash. The rectangle under the other rectangle will be displayed in all red if the built WebKit has the problem that I reported.

I'll try to solve the thing with cache size you've mentioned about, but I don't believe OS X WebKit would have the problem that this test case verifies. Thank you for your help!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list