Closed Bug 595554 Opened 14 years ago Closed 14 years ago

this.browsers[i] is undefined after closing and undoing the last tab

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 528582

People

(Reporter: bugzilla, Unassigned)

Details

If I have several tabs open, close the last one and undo it, I get the following output in the error console: Error: this.browsers[i] is undefined Source File: chrome://navigator/content/tabbrowser.xml Line: 1122 Message: SessionStore: TypeError: browsers[i] is undefined The message is shown only one time, the error output multiple times.
Seems related with tab progress listeners changes.
Also, favicon lost on restored tab
If you set browser.tabs.max_tabs_undo to 0, which means SM will use sessionstore's undoclosetab, no error happens and tab will be restored correctly. So our restoreTab triggering something bad.
know anything that may cause this top of your head (rather than me investigating)
Sorry, but I can't actually duplicate the bug...
Hmm, I wasn't able to reproduce it on clean profile too. Maybe some extension - Session Manager ?
With applied patch from bug 528582 the issue goes away even on my working profile with many extensions installed. I'm marking it as DUPLICATE
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.