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:
reed%reedloden.com 2007-12-05 01:02:57 +00:00
Родитель b8a20add37
Коммит 30ab2d9fba
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -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 = [];