mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 998608 - Intermittent netwerk/test/unit/test_range_requests.js | request reports itself as not pending from onDataAvailable, r=michal
This commit is contained in:
parent
9ed36bd7fe
commit
27fcff31b8
@ -2181,6 +2181,7 @@ nsHttpChannel::ProcessPartialContent()
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
mCachedContentIsPartial = false;
|
||||
mConcurentCacheAccess = 0;
|
||||
|
||||
// notify observers interested in looking at a response that has been
|
||||
// merged with any cached headers (http-on-examine-merged-response).
|
||||
@ -5141,8 +5142,6 @@ nsHttpChannel::OnStopRequest(nsIRequest *request, nsISupports *ctxt, nsresult st
|
||||
}
|
||||
}
|
||||
|
||||
mIsPending = false;
|
||||
|
||||
// if needed, check cache entry has all data we expect
|
||||
if (mCacheEntry && mCachePump &&
|
||||
mConcurentCacheAccess && contentComplete) {
|
||||
@ -5182,6 +5181,7 @@ nsHttpChannel::OnStopRequest(nsIRequest *request, nsISupports *ctxt, nsresult st
|
||||
}
|
||||
}
|
||||
|
||||
mIsPending = false;
|
||||
mStatus = status;
|
||||
|
||||
// perform any final cache operations before we close the cache entry.
|
||||
|
Loading…
Reference in New Issue
Block a user