When call to nsICacheEntryOpenCallback.onCacheEntryCheck throws, carry the error to status of onCacheEntryAvailable

NEW
Unassigned

Status

()

P5
normal
3 years ago
a year ago

People

(Reporter: mayhemer, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox51 affected)

Details

(Whiteboard: [necko-would-take])

(Reporter)

Description

3 years ago
When an implementer of nsICacheEntryOpenCallback forgets to implement onCacheEntryCheck in JS, the status it gets in onCacheEntryAvailable is NS_ERROR_CACHE_KEY_NOT_FOUND, which may be pretty confusing, specially when using OPEN_NORMAL flag.  Carrying the error to OCEA may help identify this problem more quickly.
You need to log in before you can comment on or make changes to this bug.