rem: } else { 
add: } else if ($('myiframe') != null) { 
context: function runSeleniumTest() {    runOptions = new RunOptions();    var testAppWindow;    if (runOptions.isMultiWindowMode()) {        testAppWindow = openSeparateApplicationWindow('Blank.html');    } else {        testAppWindow = $('myiframe').contentWindow;    }    if (testAppWindow == null) {        proxyInjectionMode = true;        testAppWindow = window;    }    else    {        proxyInjectionMode = false;    }    selenium = Selenium.createForWindow(testAppWindow);    if (!debugMode) {        debugMode = runOptions.getDebugMode();    }    if (proxyInjectionMode) {        LOG.log = logToRc;    }    else if (debugMode) {        LOG.logHook = logToRc;    }    window.selenium = selenium;    commandFactory = new CommandHandlerFactory();    commandFactory.registerAll(selenium);    currentTest = new SeleneseRunner(commandFactory);    if (document.getElementById("commandList") != null) {        document.getElementById("commandList").appendChild(cmd4);        document.getElementById("commandList").appendChild(cmd3);        document.getElementById("commandList").appendChild(cmd2);        document.getElementById("commandList").appendChild(cmd1);    }    var doContinue = runOptions.getContinue();    if (doContinue != null) postResult = "OK";    currentTest.start();}
meta: 3175	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3175/37b69a783252967f3b2dcca5b5c09a93dabc051e/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js