B2G/gecko/browser/components/tabview/groupitems.js
// Used when closing the group.
Used when closing the group.
Used when closing the group .
function GroupItem__makeClosestTabActive() {
    let closeCenter = this.getBounds().center();
    let closestTabItem = UI.getClosestTab(closeCenter);
    if (closestTabItem)
      UI.setActive(closestTabItem);
  }
function GroupItem__makeClosestTabActive ( ) { let closeCenter = this . getBounds ( ) . center ( ) ; let closestTabItem = UI . getClosestTab ( closeCenter ) ; if ( closestTabItem ) UI . setActive ( closestTabItem ) ; }
Used when closing the group.
Used when closing the group .
// Find closest tab to make active