B2G/gecko/browser/components/tabview/groupitems.js
// Removes the given xul:tab as an app tab in this group's apptab tray
Removes the given xul:tab as an app tab in this group's apptab tray
Removes the given xul : tab as an app tab in this group ' s apptab tray
function GroupItem_removeAppTab(xulTab) {
    iQ(".appTabIcon", this.$appTabTray).each(function(icon) {
      let $icon = iQ(icon);
      if ($icon.data("xulTab") != xulTab)
        return true;
      $icon.remove();
      return false;
    });
    this.adjustAppTabTray(true);
  }
function GroupItem_removeAppTab ( xulTab ) { iQ ( ".appTabIcon" , this . $appTabTray ) . each ( function ( icon ) { let $icon = iQ ( icon ) ; if ( $icon . data ( "xulTab" ) != xulTab ) return true ; $icon . remove ( ) ; return false ; } ) ; this . adjustAppTabTray ( true ) ; }
Removes the given xul:tab as an app tab in this group's apptab tray
Removes the given xul : tab as an app tab in this group ' s apptab tray
// remove the icon // adjust the tray