mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1182487 - Don't try to write to HTTP cache entry in nsHttpChannel when entry is open for reading only. r=michal
This commit is contained in:
parent
758c1a3bc3
commit
d11786e1bf
@ -1728,7 +1728,7 @@ nsHttpChannel::ContinueProcessNormal(nsresult rv)
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// install cache listener if we still have a cache entry open
|
||||
if (mCacheEntry && !mLoadedFromApplicationCache) {
|
||||
if (mCacheEntry && !mCacheEntryIsReadOnly) {
|
||||
rv = InstallCacheListener();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user