mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Backout changeset d980e7a3aa49 from bug 677424 due to test failures.
This commit is contained in:
parent
8e0e038bd5
commit
03dfbd904f
@ -1065,14 +1065,6 @@ SessionStoreService.prototype = {
|
||||
if (length > maxTabsUndo)
|
||||
this._windows[aWindow.__SSi]._closedTabs.splice(maxTabsUndo, length - maxTabsUndo);
|
||||
}
|
||||
|
||||
// Remove the tab from the saved window state if it matches what is already
|
||||
// there. This solves bug 677424
|
||||
if (aTab._tPos < this._windows[aWindow.__SSi].tabs.length) {
|
||||
var oldTab = this._windows[aWindow.__SSi].tabs[aTab._tPos];
|
||||
if (oldTab.entries[oldTab.index - 1].url == aTab.linkedBrowser.currentURI.spec)
|
||||
this._windows[aWindow.__SSi].tabs.splice(aTab._tPos, 1);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user