B2G/gecko/browser/components/tabview/ui.js
//  dontSetActiveTabInGroup bool for not setting active tab in group
dontSetActiveTabInGroup bool for not setting active tab in group
dontSetActiveTabInGroup bool for not setting active tab in group
function UI_setActive(item, options) {
    Utils.assert(item, "item must be given");
    if (item.isATabItem) {
      if (item.parent)
        GroupItems.setActiveGroupItem(item.parent);
      if (!options || !options.dontSetActiveTabInGroup)
        this._setActiveTab(item);
    } else {
      GroupItems.setActiveGroupItem(item);
      if (!options || !options.dontSetActiveTabInGroup) {
        let activeTab = item.getActiveTab();
        if (activeTab)
          this._setActiveTab(activeTab);
      }
    }
  }
function UI_setActive ( item , options ) { Utils . assert ( item , "item must be given" ) ; if ( item . isATabItem ) { if ( item . parent ) GroupItems . setActiveGroupItem ( item . parent ) ; if ( ! options || ! options . dontSetActiveTabInGroup ) this . _setActiveTab ( item ) ; } else { GroupItems . setActiveGroupItem ( item ) ; if ( ! options || ! options . dontSetActiveTabInGroup ) { let activeTab = item . getActiveTab ( ) ; if ( activeTab ) this . _setActiveTab ( activeTab ) ; } } }
dontSetActiveTabInGroup bool for not setting active tab in group
dontSetActiveTabInGroup bool for not setting active tab in group