зеркало из https://github.com/mozilla/pjs.git
bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa
This commit is contained in:
Родитель
2125930cff
Коммит
bb9ef1fa0d
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче