 for (var i in litmus.userStats) { litmus.userStats[i]++; } litmus.displayStats(); 
	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 menu = document.getElementById('testlist');        		var l = new LitmusResults({username: qaPref.litmus.getUsername(), 								  password: qaPref.litmus.getPassword(),								  server: litmus.baseURL});		l.sysconfig(new Sysconfig());				l.addResult(new Result({			testid: menu.selectedItem.value,			resultstatus: rs,			exitstatus: 'Exited Normally',			duration: 0,			comment: $('qa-testcase-comment').value,			isAutomatedResult: 0		}));				var callback = function(resp) {					};				var errback = function(resp) {			alert(resp.responseText);		};				litmus.postResultXML(l.toXML(), callback, errback);                var item = menu.selectedItem;        item.firstChild.setAttribute("checked", "true");        return false;   // ?? Got rid of strict warning...    },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/d9ab9e6064f2708e103e415dc4e0ecb8cb81faf7/litmus.js/clean/testing/extensions/community/chrome/content/litmus.js