rem: var req = doSimpleXMLHttpRequest(litmus.baseURL+'process_test.cgi', { data: xml }); req.addErrback(errback); req.addCallback(function(resp) { 
add: var qs = queryString({ data: xml}); var fake_callback = function(resp) { 
context: 	postResultXML : function(xml, callback, errback) {		var req = doSimpleXMLHttpRequest(litmus.baseURL+'process_test.cgi', 										    { data: xml });		req.addErrback(errback);		req.addCallback(function(resp) {			// only call callback() if we really had a sucuess. XML 			// processing errors should result in a call to errback()			if ((/ok/i).exec(resp.responseText)) {				callback(resp);			} else {				errback(resp);			}		});	},
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/37049c447067feb1d1fb1e6b0a384a62719fdbc0/litmus.js/clean/testing/extensions/community/chrome/content/litmus.js