Closed Bug 917275 Opened 12 years ago Closed 12 years ago

HTTP cache v2: audit using old cache service here and there

Categories

(Core :: Networking: Cache, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: mayhemer, Assigned: mayhemer)

References

Details

(Whiteboard: [cache2])

Attachments

(2 files)

It's few gum merges back I've last checked where all the old cache service is used. Few new test were added that might use the old cache service as well as I could just miss some existing. Tests and code touching only offline cache may remain on the old cache API for now, we are not changing offline cache implementation. Blocking bug 913807 since the migration could potentially (however unlikely that would be) uncover an issue in the wrapping code that must work 100% correctly for 913807.
Attached patch part1 v1Splinter Review
I've found only one use that should be fixed, in a test. Almost not even worth of a review time... Nothing else serious has been found, all other use is related to offline cache only or to wyciwyg (bug 917423) or webapps data clear (bug 917432).
Attachment #806165 - Flags: review?(michal.novotny)
Attachment #806165 - Attachment description: v1 → part1 v1
Attached patch part2 v1Splinter Review
- changes the hook to "webapps-clear-data" to use the new API - enables test_cache_jar.js - see bug 917487 c1 when doing the review This falls in this bug's scope as well. It proves the API works as expected. On the other hand, this change is not critically needed for preff'ed of landing and will be refactored in bug 917432 anyway. I've only checked that netwerk/test/unit/test_cache_jar.js works with this change with both the new and old cache. Michal, what do you think? Take it or not? I actually just want to save your review time here...
Attachment #806222 - Flags: review?(michal.novotny)
Attachment #806165 - Flags: review?(michal.novotny) → review+
Attachment #806222 - Flags: review?(michal.novotny) → review+
Whiteboard: [cache2][fixed-in-gum]
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [cache2][fixed-in-gum] → [cache2]
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: