mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
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:
parent
225f378e1e
commit
7924a92312
@ -2518,7 +2518,7 @@ SessionStoreService.prototype = {
|
||||
// at startup we don't accidentally add them to a popup window
|
||||
do {
|
||||
total.unshift(lastClosedWindowsCopy.shift())
|
||||
} while (total[0].isPopup)
|
||||
} while (total[0].isPopup && lastClosedWindowsCopy.length > 0)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user