if (rv == NS_BINDING_ABORTED)
if (rv == NS_BINDING_ABORTED || rv == NS_ERROR_DOM_RETVAL_UNDEFINED)
PRBool nsDocumentOpenInfo::ProcessCanceledCase(nsIChannel * aChannel){  PRBool canceled = PR_FALSE;  nsresult rv = NS_OK;  if (aChannel)  {    aChannel->GetStatus(&rv);    if (rv == NS_BINDING_ABORTED)    {      canceled = PR_TRUE;      // free any local state for this load since we are aborting it so we       // can break any cycles...      m_contentListener = nsnull;      m_targetStreamListener = nsnull;      m_originalContext = nsnull;    }  }  return canceled;}