History loads should never lead to creation of new session history entries.

Bug 227672, r=adamlock, sr=darin
This commit is contained in:
bzbarsky%mit.edu 2004-01-08 04:18:08 +00:00
parent 0b28e29088
commit 89108d40d0

View File

@ -5901,9 +5901,8 @@ nsDocShell::OnNewURI(nsIURI * aURI, nsIChannel * aChannel,
// Determine if this type of load should update history.
if (aLoadType == LOAD_BYPASS_HISTORY ||
aLoadType & LOAD_CMD_HISTORY ||
aLoadType == LOAD_RELOAD_NORMAL ||
aLoadType == LOAD_RELOAD_CHARSET_CHANGE)
aLoadType & LOAD_CMD_HISTORY ||
aLoadType & LOAD_CMD_RELOAD)
updateHistory = PR_FALSE;
// Check if the url to be loaded is the same as the one already loaded.