Closed Bug 1156600 Opened 10 years ago Closed 10 years ago

asmjscache: fix assert when reading metadata file for cache write fails

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file)

This patch fixes a caller of CacheMiss() that was causing it to assert in bug 1142694 comment 17 when reading the metadata file fails for a cache write. CacheMiss() will still behave fine in release builds, but it makes sense to only call CacheMiss() for a read.
Attachment #8595113 - Flags: review?(Jan.Varga)
Comment on attachment 8595113 [details] [diff] [review] fix-read-metadata-for-write-fail Review of attachment 8595113 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, this makes sense
Attachment #8595113 - Flags: review?(Jan.Varga) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: