зеркало из https://github.com/mozilla/gecko-dev.git
Bug 642624 - If shutdown Firefox when all closed windows are popups, exception occurs and session isn't saved. [r=zpao]
This commit is contained in:
Родитель
225f378e1e
Коммит
7924a92312
|
@ -2518,7 +2518,7 @@ SessionStoreService.prototype = {
|
||||||
// at startup we don't accidentally add them to a popup window
|
// at startup we don't accidentally add them to a popup window
|
||||||
do {
|
do {
|
||||||
total.unshift(lastClosedWindowsCopy.shift())
|
total.unshift(lastClosedWindowsCopy.shift())
|
||||||
} while (total[0].isPopup)
|
} while (total[0].isPopup && lastClosedWindowsCopy.length > 0)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче