if (ProcessCanceledCase(aChannel)) return NS_OK;
NS_IMETHODIMP nsDocumentOpenInfo::OnStopRequest(nsIChannel * aChannel, nsISupports *aCtxt,                                                 nsresult aStatus, const PRUnichar * errorMsg){  nsresult rv = NS_OK;  if (!mOnStopFired && m_targetStreamListener)  {    mOnStopFired = PR_TRUE;    m_targetStreamListener->OnStopRequest(aChannel, aCtxt, aStatus, errorMsg);  }  m_targetStreamListener = 0;  return rv;}