add: selenium.baseURL = baseURL; 
context: function start() {	var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);	var window = wm.getMostRecentWindow('navigator:browser');		selenium = Selenium.createForFrame(window.getBrowser());	selenium.browserbot.getCurrentPage();	commandFactory = new CommandHandlerFactory();	commandFactory.registerAll(selenium);	testCase.debugIndex = -1;		testLoop = new TestLoop(commandFactory);			testLoop.getCommandInterval = function() { return getInterval(); }	testLoop.nextCommand = function() {		recorder.view.rowUpdated(testCase.debugIndex);		if (++testCase.debugIndex >= testCase.commands.length) {			return null;		}		var command = testCase.commands[testCase.debugIndex];		return new SeleniumCommand(command.command, command.target, command.value);	}	testLoop.firstCommand = function() {		testCase.debugIndex = -1;		//testLoop.nextCommand.apply(this);		if (++testCase.debugIndex >= testCase.commands.length) {			return null;		}		var command = testCase.commands[testCase.debugIndex];		return new SeleniumCommand(command.command, command.target, command.value);	}	testLoop.commandStarted = function() {		recorder.view.rowUpdated(testCase.debugIndex);	}	testLoop.commandComplete = function(result) {		if (result.failed) {			testCase.commands[testCase.debugIndex].result = 'failed';		} else if (result.passed) {			testCase.commands[testCase.debugIndex].result = 'passed';		} else {			testCase.commands[testCase.debugIndex].result = null;		}		recorder.view.rowUpdated(testCase.debugIndex);	}	testLoop.commandError = function() {		testCase.commands[testCase.debugIndex].result = 'failed';		recorder.view.rowUpdated(testCase.debugIndex);	}	testLoop.testComplete = function() {		testLoop = null;		testCase.debugIndex = -1;		recorder.view.rowUpdated(testCase.debugIndex);	}	testLoop.pause = function() {}	testLoop.start();}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/987072c9677dabfd007fab08d4c76099ebb26d9e/selenium-runner.js/clean/content/selenium-runner.js