DoLoadURL(aUri, strCommand, nsnull, nsIChannel::LOAD_NORMAL, nsnull, nsnull, PR_FALSE);
DoLoadURL(aUri, "view", nsnull, nsIChannel::LOAD_NORMAL, nsnull, nsnull, PR_FALSE);
nsWebShell::DoContent(const char * aContentType,                      nsURILoadCommand aCommand,                      const char * aWindowTarget,                      nsIChannel * aOpenedChannel,                      nsIStreamListener ** aContentHandler,                      PRBool * aAbortProcess){  NS_ENSURE_ARG(aOpenedChannel);  nsresult rv = NS_OK;  if (aAbortProcess)    *aAbortProcess = PR_FALSE;  nsXPIDLCString strCommand;  // go to the uri loader and ask it to convert the uri load command into a old  // world style string  NS_WITH_SERVICE(nsIURILoader, pURILoader, NS_URI_LOADER_PROGID, &rv);  if (NS_SUCCEEDED(rv))    pURILoader->GetStringForCommand(aCommand, getter_Copies(strCommand));  // determine if the channel has just been retargeted to us...  nsLoadFlags loadAttribs = 0;  aOpenedChannel->GetLoadAttributes(&loadAttribs);  // first, run any uri preparation stuff that we would have run normally  // had we gone through OpenURI  nsCOMPtr<nsIURI> aUri;  aOpenedChannel->GetURI(getter_AddRefs(aUri));  if (loadAttribs & nsIChannel::LOAD_RETARGETED_DOCUMENT_URI)  {    PrepareToLoadURI(aUri, nsnull, PR_TRUE, nsIChannel::LOAD_NORMAL, nsnull, nsnull);    // mscott: when I called DoLoadURL I found that we ran into problems because    // we currently don't have channel retargeting yet. Basically, what happens is that    // DoLoadURL calls StopBeforeRequestingURL and this cancels the current load group    // however since we can't retarget yet, we were basically canceling our very    // own load group!!! So the request would get canceled out from under us...    // after retargeting we may be able to safely call DoLoadURL.     DoLoadURL(aUri, strCommand, nsnull, nsIChannel::LOAD_NORMAL, nsnull, nsnull, PR_FALSE);    SetFocus(); // force focus to get set on the retargeted window...  }  OnLoadingSite(aOpenedChannel);   return CreateContentViewer(aContentType, aOpenedChannel, aContentHandler); }