nsresult rv = NS_OK;  #ifdef NECKO nsCOMPtr<nsIChannel> channel = do_QueryInterface(ctxt); if (channel == nsnull) return NS_ERROR_FAILURE; nsCOMPtr<nsIURI> aURL; rv = channel->GetURI(getter_AddRefs(aURL));
if (aStatus) { nsresult rv; nsCOMPtr<nsIStringBundleService> sbs = do_GetService(kStringBundleServiceCID, &rv);
NS_METHOD nsDocumentBindInfo::OnStatus(nsIURI* aURL, const PRUnichar* aMsg)#endif{    nsresult rv = NS_OK;#ifdef NECKO    nsCOMPtr<nsIChannel> channel = do_QueryInterface(ctxt);    if (channel == nsnull) return NS_ERROR_FAILURE;    nsCOMPtr<nsIURI> aURL;    rv = channel->GetURI(getter_AddRefs(aURL));    if (NS_FAILED(rv)) return rv;#endif    /* Pass the notification out to the next stream listener... */    if (nsnull != m_NextStream) {#ifdef NECKO//        rv = m_NextStream->OnStatus(ctxt, aMsg);        NS_ASSERTION(0, "help");#else        rv = m_NextStream->OnStatus(aURL, aMsg);#endif    }    /* Pass the notification out to any observers... */    nsString msgStr(aMsg);#ifdef NECKO    m_DocLoader->FireOnStatusURLLoad((nsIDocumentLoader *) m_DocLoader, channel, msgStr);#else    m_DocLoader->FireOnStatusURLLoad((nsIDocumentLoader *) m_DocLoader, aURL, msgStr);#endif    /* Pass the notification out to the Observer... */    if (nsnull != m_Observer) {        /* XXX: Should we ignore the return value? */#ifdef NECKO//        (void) m_Observer->OnStatus(ctxt, aMsg);        NS_ASSERTION(0, "help");#else        (void) m_Observer->OnStatus(aURL, aMsg);#endif    }    return rv;}