From f8615a0e3b2fc82f26bc2a490793ae2811334412 Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Thu, 17 May 2001 21:38:27 +0000 Subject: [PATCH] Checking in serge@netscape.com's fix for bug 65777, this was a regression from the window targetting changes that caused a crash in some cases when an invalid url was typed into the URL bar. r=pollmann@netscape.com, jst@netscape.com, sr=rpotts@netscape.com git-svn-id: svn://10.0.0.236/trunk@95314 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index a34789209c9..b7a758aaee7 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -3955,6 +3955,8 @@ nsresult nsDocShell::DoURILoad(nsIURI * aURI, nsnull, loadGroup, NS_STATIC_CAST(nsIInterfaceRequestor *, this)); + if (NS_FAILED(rv)) + return rv; channel->SetOriginalURI(aURI);