Bug 536466. Patch by Honza Bambas <honzab.moz@firemni.cz>, r=bz, a1.9.0.next=dveditz
git-svn-id: svn://10.0.0.236/trunk@260889 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6ab64cd8ca
commit
15ff035be1
@ -5081,6 +5081,12 @@ nsDocShell::OnRedirectStateChange(nsIChannel* aOldChannel,
|
||||
return; // nothing to tell anybody about
|
||||
AddToGlobalHistory(oldURI, PR_TRUE, aOldChannel);
|
||||
}
|
||||
|
||||
if (!(aRedirectFlags & nsIChannelEventSink::REDIRECT_INTERNAL) &&
|
||||
mLoadType & (LOAD_CMD_RELOAD | LOAD_CMD_HISTORY)) {
|
||||
mLoadType = LOAD_NORMAL_REPLACE;
|
||||
SetHistoryEntry(&mLSHE, nsnull);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user