mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 551990 - Crash [@ nsHttpResponseHead::NoStore()] in test_updatingManifest.html, r=biesi
This commit is contained in:
parent
197861d0b9
commit
3497436378
@ -2504,11 +2504,13 @@ nsHttpChannel::InitCacheEntry()
|
||||
nsresult
|
||||
nsHttpChannel::InitOfflineCacheEntry()
|
||||
{
|
||||
// This function can be called even when we fail to connect (bug 551990)
|
||||
|
||||
if (!mOfflineCacheEntry) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (mResponseHead->NoStore()) {
|
||||
if (mResponseHead && mResponseHead->NoStore()) {
|
||||
CloseOfflineCacheEntry();
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user