Closed
Bug 979422
Opened 10 years ago
Closed 10 years ago
HTTP cache wrapper performs UMR if onCacheEntryCheck fails
Categories
(Core :: Networking: Cache, defect)
Core
Networking: Cache
Tracking
()
RESOLVED
FIXED
mozilla31
Tracking | Status | |
---|---|---|
firefox31 | --- | fixed |
People
(Reporter: neil, Assigned: mayhemer)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
876 bytes,
patch
|
michal
:
review+
mayhemer
:
checkin+
|
Details | Diff | Splinter Review |
If the HTTP cache wrapper needs to perform a cache entry check (e.g. from a call to AsyncOpenURI) then it warns if the check fails, but tries to use the now-uninitialised result. I discovered this when I had forgotten to implement onCacheEntryCheck and the wrappers ignored my error. (On an unrelated node, I wonder why anyone would want onCacheEntryCheck to be invoked on the main thread, since it's guaranteed to be followed immediately by onCacheEntryAvailable anyway.)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → honzab.moz
Severity: trivial → major
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=d39cf82c7f2e
Attachment #8386140 -
Flags: review?(michal.novotny)
Updated•10 years ago
|
Attachment #8386140 -
Flags: review?(michal.novotny) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8386140 [details] [diff] [review] v1 https://hg.mozilla.org/integration/mozilla-inbound/rev/042679e999a7
Attachment #8386140 -
Flags: checkin+
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/042679e999a7
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
status-firefox31:
--- → fixed
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•