From 445e635c1a33ecd451ed3a56a22e0a69d146dbb3 Mon Sep 17 00:00:00 2001 From: Tom Schuster Date: Sat, 4 May 2013 19:25:15 +0200 Subject: [PATCH] Bug 858538 - Don't stop network activity when using an link. r=bz --- docshell/base/nsDocShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index d4675c7f3543..ee896c2cf1d0 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -9107,7 +9107,7 @@ nsDocShell::InternalLoad(nsIURI * aURI, // stopped in those cases. In the case where they do result in // data, the javascript: URL channel takes care of stopping // current network activity. - if (!bIsJavascript) { + if (!bIsJavascript && aFileName.IsVoid()) { // Stop any current network activity. // Also stop content if this is a zombie doc. otherwise // the onload will be delayed by other loads initiated in the