this.requireField('testid', a); this.requireField('resultstatus', a); this.requireField('exitstatus', a); this.requireField('duration', a);   if (a.timestamp) { this.timestamp = a.timestamp; } else { var d = new Date(); this.timestamp=''+d.getFullYear()+leadZero((d.getMonth()+1))+ leadZero(d.getDate())+leadZero(d.getHours())+leadZero(d.getMinutes())+ leadZero(d.getSeconds()); }  this.comment = a.comment; this.bugnumber = a.bugnumber; this.logs = a.log; this.automated = a.isAutomatedResult ? a.isAutomatedResult : 1; } 
this.requireField('testid', a); this.requireField('resultstatus', a); this.requireField('exitstatus', a); this.requireField('duration', a);   if (a.timestamp) { this.timestamp = a.timestamp; } else { var d = new Date(); this.timestamp=''+d.getFullYear()+leadZero((d.getMonth()+1))+ leadZero(d.getDate())+leadZero(d.getHours())+leadZero(d.getMinutes())+ leadZero(d.getSeconds()); }  this.comment = a.comment; this.bugnumber = a.bugnumber; this.logs = a.log; this.automated = a.isAutomatedResult ? a.isAutomatedResult : 1; } 
function Result(a) {	this.requireField('testid', a);	this.requireField('resultstatus', a);	this.requireField('exitstatus', a);	this.requireField('duration', a);		// if no timestamp specified, use the current time	if (a.timestamp) { this.timestamp = a.timestamp; }	else {		var d = new Date();		this.timestamp=''+d.getFullYear()+leadZero((d.getMonth()+1))+			leadZero(d.getDate())+leadZero(d.getHours())+leadZero(d.getMinutes())+			leadZero(d.getSeconds());	}		this.comment = a.comment;	this.bugnumber = a.bugnumber;	this.logs = a.log;	this.automated = a.isAutomatedResult ? a.isAutomatedResult : 1;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/litmusReporter.js/clean/testing/extensions/community/chrome/content/litmusReporter.js