bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@181550 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8d40de9c09
commit
6acb3ecdae
@ -3054,7 +3054,7 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI *aURI,
|
||||
NS_ENSURE_FALSE(messageStr.IsEmpty(), NS_ERROR_FAILURE);
|
||||
// Note: For now, display an alert instead of an error page if we have no
|
||||
// URI object. Missing URI objects are handled badly by session history.
|
||||
if (mUseErrorPages && aURI) {
|
||||
if (mUseErrorPages && aURI && aFailedChannel) {
|
||||
// Display an error page
|
||||
LoadErrorPage(aURI, aURL, error.get(), messageStr.get(),
|
||||
aFailedChannel);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user