Backing out fix for bug 406857 due to win2k3 test failure

This commit is contained in:
roc+%cs.cmu.edu 2008-02-22 02:04:15 +00:00
Родитель 6958e4a113
Коммит 0be09b4974
3 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -1979,14 +1979,9 @@ nsDownload::OnProgressChange64(nsIWebProgress *aWebProgress,
// Obtain the referrer // Obtain the referrer
nsresult rv; nsresult rv;
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest)); nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
nsCOMPtr<nsIURI> referrer = mReferrer;
if (channel) if (channel)
(void)NS_GetReferrerFromChannel(channel, getter_AddRefs(mReferrer)); (void)NS_GetReferrerFromChannel(channel, getter_AddRefs(mReferrer));
// Restore the original referrer if the new one isn't useful
if (!mReferrer)
mReferrer = referrer;
// If we have a MIME info, we know that exthandler has already added this to // If we have a MIME info, we know that exthandler has already added this to
// the history, but if we do not, we'll have to add it ourselves. // the history, but if we do not, we'll have to add it ourselves.
if (!mMIMEInfo) { if (!mMIMEInfo) {

Просмотреть файл

@ -52,7 +52,6 @@ _BROWSER_FILES = \
browser_bug_410289.js \ browser_bug_410289.js \
browser_bug_413985.js \ browser_bug_413985.js \
browser_bug_416303.js \ browser_bug_416303.js \
browser_bug_406857.js \
$(NULL) $(NULL)
ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT))) ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))

Просмотреть файл