rem: browser.selectedTab = browser.addTab(aURLArray[0]); 
add: var tab = browser.addTab(aURLArray[0]); if (!aBackground) browser.selectedTab = tab; 
context: function OpenURLArrayInTabs(aURLArray){  var browserWin = getTopWin();  if (browserWin) {    var browser = browserWin.getBrowser();    browser.selectedTab = browser.addTab(aURLArray[0]);    for (var i = 1; i < aURLArray.length; ++i)      tab = browser.addTab(aURLArray[i]);  } else {    openTopWin(aURLArray.join("\n")); // Pretend that we're a home page group  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2bc8ab82d584f03ed174f3eadcefb7ef6671f7d3/history.js/buggy/suite/common/history/history.js