if (ProcessCanceledCase(aChannel)) return NS_OK;
NS_IMETHODIMP nsDocumentOpenInfo::OnDataAvailable(nsIChannel * aChannel, nsISupports * aCtxt,                                                  nsIInputStream * inStr, PRUint32 sourceOffset, PRUint32 count){  // if we have retarged to the end stream listener, then forward the call....  // otherwise, don't do anything  nsresult rv = NS_OK;  if (m_targetStreamListener)    rv = m_targetStreamListener->OnDataAvailable(aChannel, aCtxt, inStr, sourceOffset, count);  return rv;}