Bug 347336 [SessionStore] Preserve the list of recently closed tabs during one session - fix regression (r=mconnor)

This commit is contained in:
dietrich%mozilla.com 2006-08-29 19:59:40 +00:00
parent a8722319b3
commit 36a8937541

View File

@ -390,6 +390,10 @@ SessionStoreService.prototype = {
* Window reference
*/
onLoad: function sss_onLoad(aWindow) {
// return if window has already been initialized
if (aWindow && aWindow.__SSi && this._windows[aWindow.__SSi])
return;
var _this = this;
// ignore non-browser windows and windows opened while shutting down