Bug 299555 - F5 reloads Print Preview after right clicking several times on this specific testcase, r=bzbarsky, sr+a=jst
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