mContainer = nsnull; mParent    = nsnull;
nsDocLoaderImpl::nsDocLoaderImpl(){    NS_INIT_REFCNT();#if defined(DEBUG) || defined(FORCE_PR_LOG)    if (nsnull == gDocLoaderLog) {        gDocLoaderLog = PR_NewLogModule("DocLoader");    }#endif /* DEBUG || FORCE_PR_LOG */#ifdef NECKO    mDocumentChannel = nsnull;#else    mDocumentUrl    = nsnull;    mForegroundURLs = 0;    mTotalURLs      = 0;#endif    mParent         = nsnull;    mContainer      = nsnull;    mIsLoadingDocument = PR_FALSE;	// XXX I wanted to pull this initialization code out of this constructor	// because it could fail... but the web shell uses this implementation	// as a service too. Since it's a service, it really can't have any	// initialization. We're sort of screwed here.    nsresult rv = Init();    NS_ASSERTION(NS_SUCCEEDED(rv), "nsDocLoaderImpl::Init failed");    PR_LOG(gDocLoaderLog, PR_LOG_DEBUG,            ("DocLoader:%p: created.\n", this));}