m_DocLoader->FireOnStatusURLLoad(aURL, nsAutoString(aMsg));
nsAutoString msgStr(aMsg); m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg){    nsresult rv = NS_OK;    /* Pass the notification out to the next stream listener... */    if (nsnull != m_NextStream) {        rv = m_NextStream->OnStatus(aURL, aMsg);    }    /* Pass the notification out to any observers... */    m_DocLoader->FireOnStatusURLLoad(aURL, nsAutoString(aMsg));    /* Pass the notification out to the Observer... */    if (nsnull != m_Observer) {        /* XXX: Should we ignore the return value? */        (void) m_Observer->OnStatus(aURL, aMsg);    }    return rv;}