nsDocLoaderImpl::OnStopRequest(nsIChannel *aChannel, nsISupports *aCtxt, nsresult aStatus, const PRUnichar *aMsg)
nsChannelListener::OnStopRequest(nsIChannel *aChannel, nsISupports *aContext, nsresult aStatus, const PRUnichar *aMsg)
nsDocLoaderImpl::OnStopRequest(nsIChannel *aChannel,                                nsISupports *aCtxt,                                nsresult aStatus,                                const PRUnichar *aMsg){  nsresult rv = NS_OK;  //  // Only fire the OnEndDocumentLoad(...) if the document loader   // has initiated a load...  //  if (mIsLoadingDocument) {    PRUint32 count;    rv = mLoadGroup->GetActiveCount(&count);    if (NS_FAILED(rv)) return rv;    //    // The load group for this DocumentLoader is idle...    //    if (0 == count) {      DocLoaderIsEmpty(aStatus);    } else {      FireOnEndURLLoad(this, aChannel, aStatus);    }  }  return NS_OK;}