rem: testid: litmus.cachedTests[litmus.currentTestCaseIndex].testcase_id, 
add: testid: menu.selectedItem.value, 
context: 	submitResult : function() {		var rs;		var item = $('qa-testcase-result').selectedItem;		if (item.id == "qa-testcase-pass") {			rs = 'Pass';		} else if (item.id == "qa-testcase-fail") {			rs = 'Fail';		} else if (item.id == "qa-testcase-unclearBroken") {			rs = 'Test unclear/broken';		} else {			// no result selected, so don't submit anything for thes test:			return false;		}		var l = new LitmusResults({username: qaPref.litmus.getUsername(), 								  password: qaPref.litmus.getPassword(),								  server: litmus.baseURL});		l.sysconfig(new Sysconfig());				l.addResult(new Result({			testid: litmus.cachedTests[litmus.currentTestCaseIndex].testcase_id,			resultstatus: rs,			exitstatus: 'Exited Normally',			duration: 0,			comment: $('qa-testcase-comment').value,			isAutomatedResult: 0		}));				var callback = function(resp) {			alert("yay");		};				var errback = function(resp) {			alert(resp.responseText);		};				litmus.postResultXML(l.toXML(), callback, errback);                var menu = document.getElementById('testlist');        var item = menu.selectedItem;        item.firstChild.setAttribute("checked", "true");        return false;   // ?? Got rid of strict warning...    },
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/9475ad70bf8e36902f42e58bdd82dc684d86a1a0/litmus.js/buggy/testing/extensions/community/chrome/content/litmus.js