rem: window.setTimeout(this.continueTestWhenConditionIsTrue.bind(this), 100); 
add: window.setTimeout(fnBind(this.continueTestWhenConditionIsTrue, this), 100); 
context:     continueTestWhenConditionIsTrue: function () {        /**         * Busy wait for waitForCondition() to become true, and then carry         * on with test.  Fail the current test if there's a timeout or an         * exception.         */        LOG.debug("currentTest.continueTestWhenConditionIsTrue()");        selenium.browserbot.runScheduledPollers();        try {            if (this.waitForCondition == null || this.waitForCondition()) {                LOG.debug("condition satisfied; let's continueTest()");                this.waitForCondition = null;                this.continueTest();            } else {                LOG.debug("waitForCondition was false; keep waiting!");                window.setTimeout(this.continueTestWhenConditionIsTrue.bind(this), 100);            }        } catch (e) {            var lastResult = {};            lastResult.failed = true;            lastResult.failureMessage = e.message;            this.commandComplete(lastResult);            this.testComplete();        }    },
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/697a29d268d2448c4391184afe752f6497773118/selenium-executionloop.js/buggy/code/javascript/core/scripts/selenium-executionloop.js