Fix for bug # 21567. Mail composer urls get in to SH. This is a regression from some of
the recent uriLoader changes. r=mscott, a=don
This commit is contained in:
@@ -1959,7 +1959,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
|
||||
SetHistoryState(aHistoryState);
|
||||
|
||||
/* Add the page to session history */
|
||||
if (aModifyHistory && shist) {
|
||||
if (aModifyHistory && shist && (!isMail)) {
|
||||
PRInt32 ret;
|
||||
ret = shist->Add(spec, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user