Bug 838988 - Incorrect download status in nsIRequest::OnStopRequest r=honza

This commit is contained in:
Jason Duell 2013-02-07 20:36:00 -08:00
parent e67f726896
commit 40690d5324

View File

@ -526,6 +526,8 @@ nsInputStreamPump::OnStateTransfer()
rv = mAsyncStream->Available(&avail);
if (NS_SUCCEEDED(rv))
return STATE_TRANSFER;
if (rv != NS_BASE_STREAM_CLOSED)
mStatus = rv;
}
}
return STATE_STOP;