Closed Bug 630151 Opened 13 years ago Closed 13 years ago

Undo close tab opens new empty tab, creates UI problems in panorama and messes up the tab arrangement in groups

Categories

(Firefox Graveyard :: Panorama, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 628270

People

(Reporter: george.carstoiu, Unassigned)

Details

Attachments

(1 file)

Attached image Screenshot 1
Mozilla/5.0 (Windows NT 6.1; rv:2.0b11pre) Gecko/20110130 Firefox/4.0b11pre

Reproducible: Always

Steps to reproduce:
1. Start Firefox with clean profile.
2. Enter panorama, create a second group and populate it with 3 tabs.
3. Close a tab from second group using scroll button from the mouse.
4. Go to tab view and press "Undo Close Tab"
5. Go to panorama and close tab using scroll button from the first group.
6. Open group of the closed tab and from context menu select "Undo close tab"

Actual results:
 - a new empty tab is opened, panorama has UI issues (see Screenshot 1) and by selecting a tab from the other group you can observe that the tab organization is messed up

Expected results:
 - previously closed tab is reopened in current group
I'm sure this is a dupe of bug 628270. There should be an error in the console saying:

Error: uncaught exception: [Exception... "'[JavaScript Error: "aTabs[ex - 1] is
undefined"
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Yes, that is the error I get in the console:

Error: uncaught exception: [Exception... "'[JavaScript Error: "aTabs[ex - 1] is undefined" {file: "resource://gre/components/nsSessionStore.js" line: 2463}]' when calling method: [nsISessionStore::undoCloseTab]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: chrome://browser/content/browser.js :: undoCloseTab :: line 12148"  data: yes]

Did not know issues are correlated.
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: