Bug 764337 - Firefox 14+ requests images inserted by JS multiple times if not cached r=mayhemer

This commit is contained in:
Michal Novotny 2012-07-03 19:28:04 +02:00
parent ef89d5e368
commit 0a825398c9

View File

@ -5522,6 +5522,11 @@ nsHttpChannel::OnCacheEntryAvailableInternal(nsICacheEntryDescriptor *entry,
}
return NS_ERROR_DOCUMENT_NOT_CACHED;
}
if (mCanceled)
// If the request was canceled then don't continue without using
// the cache entry. See bug #764337
return rv;
// proceed without using the cache
}