Fix for bug # 166799. r= adamlock sr=alecf. Use LOAD_NORMAL_REPLACE for loads from onLoad Handler.

This commit is contained in:
radha%netscape.com 2003-01-21 04:10:56 +00:00
Родитель 34095b8135
Коммит bf8d1f829d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -621,7 +621,7 @@ nsDocShell::LoadURI(nsIURI * aURI,
if (parentBusy & BUSY_FLAGS_BUSY) {
// The parent is still busy. We most likely got here
// through onLoadHandler.
loadType = LOAD_BYPASS_HISTORY;
loadType = LOAD_NORMAL_REPLACE;
shEntry = nsnull;
}
}
@ -654,7 +654,7 @@ nsDocShell::LoadURI(nsIURI * aURI,
if (((parentBusy & BUSY_FLAGS_BUSY) || (selfBusy & BUSY_FLAGS_BUSY)) && shEntry) {
// we don't want this additional load to get into history, since this
// load will automatially happen everytime, no matter how the page is loaded.
loadType = LOAD_BYPASS_HISTORY;
loadType = LOAD_NORMAL_REPLACE;
shEntry = nsnull;
}
}