rem: for (var i = 0; i < testrunsWrapper.length; i++) { if (testrunsWrapper[i].enabled == 0) continue; var item = menu.appendItem(testrunsWrapper[i].name, testrunsWrapper[i].test_run_id); } menu.selectedIndex = 0; handleRunSelect(); 
add: for (var i = 0; i < testrunsWrapper.length; i++) { if (testrunsWrapper[i].enabled == 0) continue; var item = menu.appendItem(testrunsWrapper[i].name, testrunsWrapper[i].test_run_id); } menu.selectedIndex = 0; handleRunSelect(); 
context: function populateTestRuns(testrunsWrapper) {	var menu = document.getElementById("qa-st-testrun");	testrunsWrapper = qaTools.arrayify(testrunsWrapper);	sTestrunsWrapper = testrunsWrapper;	while (menu.firstChild) {  // clear menu		menu.removeChild(menu.firstChild);	}	for (var i = 0; i < testrunsWrapper.length; i++) {		if (testrunsWrapper[i].enabled == 0) continue;		var item = menu.appendItem(testrunsWrapper[i].name, testrunsWrapper[i].test_run_id);	}	menu.selectedIndex = 0;	handleRunSelect();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/838a3f38df6e9bd6fd899d9909b263e01aed1e26/selecttests.js/clean/testing/extensions/community/chrome/content/tabs/selecttests.js