Bug 808035 - Skip session history on loading initial <about:blank>. r=ttaubert

This commit is contained in:
Oonishi Atsushi 2012-11-07 18:04:23 -05:00
Родитель b07f733d1a
Коммит 5549cda2a2
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -2997,7 +2997,9 @@ let SessionStoreInternal = {
if (!tabData.entries || tabData.entries.length == 0) {
// make sure to blank out this tab's content
// (just purging the tab's history won't be enough)
browser.contentDocument.location = "about:blank";
browser.loadURIWithFlags("about:blank",
Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_HISTORY,
null, null, null);
continue;
}