зеркало из https://github.com/mozilla/gecko-dev.git
Bug 808035 - Skip session history on loading initial <about:blank>. r=ttaubert
This commit is contained in:
Родитель
b07f733d1a
Коммит
5549cda2a2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче