History loads should never lead to creation of new session history entries.
Bug 227672, r=adamlock, sr=darin git-svn-id: svn://10.0.0.236/trunk@151015 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user