Open
Bug 1081069
Opened 10 years ago
Updated 2 years ago
Make nsICacheStorage visit and clear methods optionally work outside the context scope
Categories
(Core :: Networking: Cache, enhancement, P5)
Core
Networking: Cache
Tracking
()
NEW
People
(Reporter: mayhemer, Unassigned)
Details
(Whiteboard: [necko-would-take])
When you want to clear a disk cache now, you need to do it over all combinations for anonymous/private/inbrowser etc separately. See e.g. CacheStorageEvictHelper::Run.
It's not convenient at all. Hence, asyncEvictStorage and asyncVisitStorage methods on nsICacheStorage should be added an optional flag argument expressing what parameters of nsILoadContextInfo the storage you are calling it on should be treated like 'any'.
The flags then will be:
- DISHONOR_PRIVATE
- DISHONOR_ANONYMOUS
- DISHONOR_APPID
- DISHONOR_INBROWSER
and for convenience:
- DISHONOR_ALL_BUT_APPID
etc..
and could be combined.
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•9 years ago
|
||
Note: better might be to think of using NeckoOriginAttributes and NeckoOriginAttributesPattern (needs to be introduced) instead of nsILoadContextInfo.
Reporter | ||
Updated•9 years ago
|
Assignee: honzab.moz → nobody
Status: ASSIGNED → NEW
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 2•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•