2011-02-27 17:36:36 -08:00
|
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
2011-01-12 12:10:47 -08:00
|
|
|
|
|
|
|
function test() {
|
|
|
|
waitForExplicitFinish();
|
|
|
|
|
2011-01-26 13:24:12 -08:00
|
|
|
showTabView(function () {
|
|
|
|
let [tab] = gBrowser.tabs;
|
|
|
|
let groupId = tab._tabViewTabItem.parent.id;
|
2011-01-12 12:10:47 -08:00
|
|
|
|
2011-01-26 13:24:12 -08:00
|
|
|
TabView.moveTabTo(tab, groupId);
|
|
|
|
is(tab._tabViewTabItem.parent.id, groupId, 'tab did not change its group');
|
2011-01-12 12:10:47 -08:00
|
|
|
|
2011-01-26 13:24:12 -08:00
|
|
|
hideTabView(finish);
|
|
|
|
});
|
2011-01-12 12:10:47 -08:00
|
|
|
}
|