nsresult rv;  #ifdef NECKO rv = NS_NewLoadGroup(nsnull, this, nsnull, getter_AddRefs(mLoadGroup)); if (NS_FAILED(rv)) return rv; PR_LOG(gDocLoaderLog, PR_LOG_DEBUG, ("DocLoader:%p: load group %x.\n", this, mLoadGroup));  rv = mLoadGroup->SetGroupListenerFactory( (nsILoadGroupListenerFactory*)this); if (NS_FAILED(rv)) return rv;  #else rv = NS_NewISupportsArray(getter_AddRefs(m_LoadingDocsList)); if (NS_FAILED(rv)) return rv; rv = NS_NewLoadAttribs(getter_AddRefs(m_LoadAttrib)); if (NS_FAILED(rv)) return rv;
nsDocumentBindInfo::Init(nsDocLoaderImpl* aDocLoader,                         const char *aCommand,                          nsIContentViewerContainer* aContainer,                         nsISupports* aExtraInfo,                         nsIStreamObserver* anObserver){#ifndef NECKO    m_Url        = nsnull;#endif    m_NextStream = nsnull;    m_Command    = (nsnull != aCommand) ? PL_strdup(aCommand) : nsnull;    m_DocLoader = aDocLoader;    NS_ADDREF(m_DocLoader);    m_Container = aContainer;    NS_IF_ADDREF(m_Container);    m_Observer = anObserver;    NS_IF_ADDREF(m_Observer);    m_ExtraInfo = aExtraInfo;    NS_IF_ADDREF(m_ExtraInfo);    mStatus = NS_OK;    return NS_OK;}