зеркало из https://github.com/mozilla/pjs.git
Backing out fix for bug 406857 due to win2k3 test failure
This commit is contained in:
Родитель
6958e4a113
Коммит
0be09b4974
|
@ -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)))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче