B2G/gecko/browser/components/tabview/test/browser_tabview_bug766597.js
// The group count includes the separator and the 'new group' menu item.
The group count includes the separator and the 'new group' menu item.
The group count includes the separator and the ' new group ' menu item .
function checkGroupMenuItems() {
    openMoveToGroupPopup();
    is(tvMenuPopup.childNodes.length, 3, "Validate group item count in move to group popup.");
    hideMoveToGroupPopup();
    group2.setTitle("empty group with title");
    openMoveToGroupPopup();
    is(tvMenuPopup.childNodes.length, 4, "Validate group item count in move to group popup.");
    hideMoveToGroupPopup();
    closeGroupItem(group1, function() { closeGroupItem(group2, finish); });
  }
function checkGroupMenuItems ( ) { openMoveToGroupPopup ( ) ; is ( tvMenuPopup . childNodes . length , 3 , "Validate group item count in move to group popup." ) ; hideMoveToGroupPopup ( ) ; group2 . setTitle ( "empty group with title" ) ; openMoveToGroupPopup ( ) ; is ( tvMenuPopup . childNodes . length , 4 , "Validate group item count in move to group popup." ) ; hideMoveToGroupPopup ( ) ; closeGroupItem ( group1 , function ( ) { closeGroupItem ( group2 , finish ) ; } ) ; }
The group count includes the separator and the 'new group' menu item.
The group count includes the separator and the ' new group ' menu item .
// First test with an empty untitled group. // Then test with an empty but titled group. // Clean 