mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 22:05:40 +00:00
History loads should never lead to creation of new session history entries.
Bug 227672, r=adamlock, sr=darin
This commit is contained in:
parent
0b28e29088
commit
89108d40d0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user