Bug 111383 - Clear associated cache partitions when deleting origins' cache
Summary: Clear associated cache partitions when deleting origins' cache
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Vicki Pfau
Keywords: InRadar
Depends on:
Reported: 2013-03-04 16:49 PST by Vicki Pfau
Modified: 2013-03-05 14:32 PST (History)
3 users (show)

See Also:

Patch (4.68 KB, patch)
2013-03-04 17:00 PST, Vicki Pfau
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vicki Pfau 2013-03-04 16:49:37 PST
When an origin is cleared from the cache, it should also clear out all the cache items that are in the partitions associated with the origins being cleared.

Comment 1 Vicki Pfau 2013-03-04 17:00:00 PST
Created attachment 191356 [details]
Comment 2 Vicki Pfau 2013-03-04 17:02:13 PST
I don't really think there's a good way to write an automated test for this functionality; it'd require either exposing mechanisms for fiddling with the cache to WKTR or, in different ways, to TestWebKitAPI. It's rather easy to test manually in Safari, however.
Comment 3 Maciej Stachowiak 2013-03-04 22:58:40 PST
Comment on attachment 191356 [details]

Comment 4 Vicki Pfau 2013-03-05 14:32:31 PST
Committed r144819: <http://trac.webkit.org/changeset/144819>