Bug 589324 - Switch-to-Tab after Session Restore does not respect Tab Candy grouping [r=dietrich, a=blocking2.0]
This commit is contained in:
@@ -60,6 +60,13 @@ function test() {
|
||||
gBrowser.selectedTab = testTab;
|
||||
gBrowser.showOnlyTheseTabs([testTab]);
|
||||
|
||||
// if the tabview frame is initialized, we need to move the orignal tab to
|
||||
// another group; otherwise, selecting a tab would make all three tabs in
|
||||
// the same group to display.
|
||||
let tabViewWindow = TabView.getContentWindow();
|
||||
if (tabViewWindow)
|
||||
tabViewWindow.GroupItems.moveTabToGroupItem(origTab, null);
|
||||
|
||||
visible = gBrowser.visibleTabs;
|
||||
is(visible.length, 2, "2 tabs should be visible including the pinned");
|
||||
is(visible[0], pinned, "first is pinned");
|
||||
|
||||
Reference in New Issue
Block a user