mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 764337 - Firefox 14+ requests images inserted by JS multiple times if not cached r=mayhemer
This commit is contained in:
parent
ef89d5e368
commit
0a825398c9
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user