Summary: | [WebKit2]SetCacheModel must be callled when ResourceCachesToClear is AllResourceCaches | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sangho Kim <thomas.kim> | ||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | UNCONFIRMED --- | ||||||
Severity: | Normal | CC: | ap, beidson, skyul, xingri, yoon | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Sangho Kim
2013-08-30 01:08:29 PDT
Created attachment 210075 [details]
patch
When the argument of clearResourceCaches is only AllResourceCaches, SetCacheModel can be called.
This doesn't look right to me - we still need to call setCacheModel to clear memory cache here. (In reply to comment #2) > This doesn't look right to me - we still need to call setCacheModel to clear memory cache here. If the setCacheModel(CacheModelDocumentViewer) is called, Disk Cache is deleted. I think Disk Cache should not be deleted when user want to delete only caches in memory. This is not necessarily accurate - for example, Mac implementation doesn't shrink disk cache. Comment on attachment 210075 [details]
patch
Assuming that patches for review since 2013 are stale, r-
|