зеркало из https://github.com/mozilla/pjs.git
Bug 401113 - "Scrollbar position not always restored after recovering from crash" [p=zeniko@gmail.com (Simon B��nzli) r=gavin a1.9=mconnor]
This commit is contained in:
Родитель
b8a20add37
Коммит
30ab2d9fba
|
@ -1044,7 +1044,8 @@ SessionStoreService.prototype = {
|
|||
Array.forEach(aWindow.getBrowser().browsers, function(aBrowser, aIx) {
|
||||
try {
|
||||
var tabData = this._windows[aWindow.__SSi].tabs[aIx];
|
||||
if (tabData.entries.length == 0)
|
||||
if (tabData.entries.length == 0 ||
|
||||
aBrowser.parentNode.__SS_data && aBrowser.parentNode.__SS_data._tab)
|
||||
return; // ignore incompletely initialized tabs
|
||||
|
||||
var text = [];
|
||||
|
|
Загрузка…
Ссылка в новой задаче