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)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: mayhemer, Assigned: mayhemer)
References
Details
(Whiteboard: [cache2])
Attachments
(2 files)
2.82 KB,
patch
|
michal
:
review+
|
Details | Diff | Splinter Review |
10.23 KB,
patch
|
michal
:
review+
|
Details | Diff | Splinter Review |
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.
![]() |
Assignee | |
Comment 1•12 years ago
|
||
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)
![]() |
Assignee | |
Updated•12 years ago
|
Attachment #806165 -
Attachment description: v1 → part1 v1
![]() |
Assignee | |
Comment 2•12 years ago
|
||
- 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)
![]() |
Assignee | |
Comment 3•12 years ago
|
||
Updated•12 years ago
|
Attachment #806165 -
Flags: review?(michal.novotny) → review+
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Comment on attachment 806165 [details] [diff] [review]
part1 v1
Landed on gum as https://hg.mozilla.org/projects/gum/rev/939999e3d8f6
Updated•12 years ago
|
Attachment #806222 -
Flags: review?(michal.novotny) → review+
![]() |
Assignee | |
Comment 5•12 years ago
|
||
Comment on attachment 806222 [details] [diff] [review]
part2 v1
Landed on gum as https://hg.mozilla.org/projects/gum/rev/e955ab4511d0
![]() |
Assignee | |
Updated•12 years ago
|
Whiteboard: [cache2][fixed-in-gum]
![]() |
Assignee | |
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [cache2][fixed-in-gum] → [cache2]
Updated•12 years ago
|
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•