("DocLoader - OnStartDocumentLoad(...) called for %s.\n", buffer));
("DocumentBindInfo:%p: OnStartDocumentLoad(...) called for %s.\n", this, buffer));
nsresult nsDocumentBindInfo::Bind(nsIURL* aURL, nsIStreamListener* aListener){  nsresult rv = NS_OK;  nsINetService *inet = nsnull;  m_Url = aURL;  NS_ADDREF(m_Url);#if defined(DEBUG)  const char *buffer;  aURL->GetSpec(&buffer);  PR_LOG(gDocLoaderLog, PR_LOG_DEBUG,          ("DocLoader - OnStartDocumentLoad(...) called for %s.\n", buffer));#endif /* DEBUG */  //  m_DocLoader->FireOnStartDocumentLoad(aURL, m_Command);  /* Set up the stream listener (if provided)... */  if (nsnull != aListener) {    m_NextStream = aListener;    NS_ADDREF(m_NextStream);  }  /* Start the URL binding process... */  rv = nsServiceManager::GetService(kNetServiceCID,                                    kINetServiceIID,                                    (nsISupports **)&inet);  if (NS_SUCCEEDED(rv)) {    rv = inet->OpenStream(m_Url, this);    nsServiceManager::ReleaseService(kNetServiceCID, inet);  }  return rv;}