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:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user