mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
Bug 347336 [SessionStore] Preserve the list of recently closed tabs during one session (for zeniko@gmail.com, r=dietrich)
This commit is contained in:
parent
f90256d447
commit
39a8c8f4a9
@ -1229,6 +1229,9 @@ SessionStoreService.prototype = {
|
||||
this._windows[aWindow.__SSi].extData[key] = winData.extData[key];
|
||||
}
|
||||
}
|
||||
if (winData._closedTabs && (root._firstTabs || aOverwriteTabs)) {
|
||||
this._windows[aWindow.__SSi]._closedTabs = winData._closedTabs;
|
||||
}
|
||||
|
||||
this.restoreHistoryPrecursor(aWindow, winData.tabs, (aOverwriteTabs ?
|
||||
(parseInt(winData.selected) || 1) : 0), 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user