mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
Bug 979422 - HTTP old cache wrapper performs UMR if onCacheEntryCheck fails, r=michal
This commit is contained in:
parent
cf96244f17
commit
6806499fb7
@ -696,7 +696,7 @@ _OldCacheLoad::Check()
|
||||
NS_WARNING("cache check failed");
|
||||
}
|
||||
|
||||
if (result == nsICacheEntryOpenCallback::ENTRY_NOT_WANTED) {
|
||||
if (NS_FAILED(rv) || result == nsICacheEntryOpenCallback::ENTRY_NOT_WANTED) {
|
||||
mCacheEntry->Close();
|
||||
mCacheEntry = nullptr;
|
||||
mStatus = NS_ERROR_CACHE_KEY_NOT_FOUND;
|
||||
|
Loading…
Reference in New Issue
Block a user