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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user