rem: this.currentFormatInfo = this.formatInfos[0]; 
add: if (options.selectedFormat != null) { try { this.selectFormat(options.selectedFormat); } catch (error) { log.error("failed to select format: " + error); } } if (this.currentFormatInfo == null) { this.currentFormatInfo = this.formatInfos[0]; } 
context: function TestManager(options) {	this.options = options;	this.log = new Log("TestManager");		this.presetFormatInfos = [new InternalFormatInfo("default", "HTML", "html.js"),							  new InternalFormatInfo("ruby", "Ruby", "ruby.js")];	this.reloadFormats();	this.currentFormatInfo = this.formatInfos[0];}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/1ca938bbe62e368ad69df4d0ac58c264da0a0e3f/testManager.js/buggy/src/content/testManager.js