B2G/gecko/browser/components/tabview/groupitems.js
//   tabItem - The tabItem that is closed.
The tabItem that is closed.
The tabItem that is closed .
function GroupItem__onChildClose(tabItem) {
    let count = this._children.length;
    let dontArrange = tabItem.closedManually &&
                      (this.expanded || !this.shouldStack(count));
    let dontClose = !tabItem.closedManually && gBrowser._numPinnedTabs > 0;
    this.remove(tabItem, {dontArrange: dontArrange, dontClose: dontClose});
    if (dontArrange)
      this._freezeItemSize(count);
    if (this._children.length > 0 && this._activeTab && tabItem.closedManually)
      UI.setActive(this);
  }
function GroupItem__onChildClose ( tabItem ) { let count = this . _children . length ; let dontArrange = tabItem . closedManually && ( this . expanded || ! this . shouldStack ( count ) ) ; let dontClose = ! tabItem . closedManually && gBrowser . _numPinnedTabs > 0 ; this . remove ( tabItem , { dontArrange : dontArrange , dontClose : dontClose } ) ; if ( dontArrange ) this . _freezeItemSize ( count ) ; if ( this . _children . length > 0 && this . _activeTab && tabItem . closedManually ) UI . setActive ( this ) ; }
tabItem - The tabItem that is closed.
tabItem - The tabItem that is closed .