Bug 299555 – F5 reloads Print Preview after right clicking several times on this specific testcase, r=bzbarsky, sr+a=jst

git-svn-id: svn://10.0.0.236/trunk@236891 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
martijn.martijn%gmail.com
2007-09-28 23:40:02 +00:00
parent 3fa1a33a1c
commit 75ee24e139

View File

@@ -673,7 +673,7 @@ nsDocShell::LoadURI(nsIURI * aURI,
PRUint32 aLoadFlags,
PRBool aFirstParty)
{
if (mFiredUnloadEvent) {
if (!IsNavigationAllowed()) {
return NS_OK; // JS may not handle returning of an error code
}
nsresult rv;