bug 247607 http-index-format -> html conversion should be done by the necko caller, not by the channels

r+sr=darin
This commit is contained in:
cbiesinger@web.de
2004-06-25 18:30:22 +00:00
parent 6d56692bb3
commit eb5030d8d6
12 changed files with 25 additions and 283 deletions

View File

@@ -109,7 +109,6 @@
#include "nsIPrincipal.h"
#include "nsIHistoryEntry.h"
#include "nsISHistoryListener.h"
#include "nsIDirectoryListing.h"
// Pull in various NS_ERROR_* definitions
#include "nsIDNSService.h"
@@ -5646,11 +5645,6 @@ nsDocShell::DoURILoad(nsIURI * aURI,
if (aReferrerURI) // Referrer is currenly only set for link clicks here.
httpChannel->SetReferrer(aReferrerURI);
}
// We want to use the pref for directory listings
nsCOMPtr<nsIDirectoryListing> dirList = do_QueryInterface(channel);
if (dirList) {
(void)dirList->SetListFormat(nsIDirectoryListing::FORMAT_PREF);
}
//
// Set the owner of the channel - only for javascript and data channels.
//