if (status == NS_ERROR_DOWNLOAD_NOT_PARTIAL) return NS_OK;
nsIncrementalDownload::OnStopRequest(nsIRequest *request,                                     nsISupports *context,                                     nsresult status){  // Not a real error; just a trick used to suppress OnDataAvailable calls.  if (status == NS_ERROR_DOWNLOAD_COMPLETE)    status = NS_OK;  if (NS_SUCCEEDED(mStatus))    mStatus = status;  if (mChunk) {    if (NS_SUCCEEDED(mStatus))      mStatus = FlushChunk();    mChunk = nsnull;  // deletes memory    mChunkLen = 0;  }  mChannel = nsnull;  // Notify listener if we hit an error or finished  if (NS_FAILED(mStatus) || mCurrentSize == mTotalSize) {    CallOnStopRequest();    return NS_OK;  }  return StartTimer(mInterval);  // Do next chunk}