rem: var errorRow = this.currentRow; if (!errorRow) {  var fakeTable = testDocument.createElement("table"); fakeTable.innerHTML = "<tr><td></td><td></td><td></td></tr>"; testDocument.body.appendChild(fakeTable); errorRow = fakeTable.rows[0]; 
add: if (this.currentRow) { this.currentRow.bgColor = failColor; this.currentRow.cells[2].innerHTML = errorMsg; this.currentRow.title = errorMsg; } else { var errorElement = testDocument.createElement("p"); errorElement.id = "error"; errorElement.innerHTML = errorMsg; testDocument.body.appendChild(errorElement); Element.setStyle(errorElement, {'backgroundColor': failColor}); 
context:     _recordFailure : function(errorMsg) {        LOG.warn("currentTest.recordFailure: " + errorMsg);        testFailed = true;        suiteFailed = true;        var testDocument = testIFrame.getDocument();        var errorRow = this.currentRow;        if (!errorRow) {            // At the end of the test, we might not have a "current" row            var fakeTable = testDocument.createElement("table");            fakeTable.innerHTML = "<tr><td></td><td></td><td></td></tr>";            testDocument.body.appendChild(fakeTable);            errorRow = fakeTable.rows[0];        }        errorRow.bgColor = failColor;        errorRow.cells[2].innerHTML = errorMsg;        errorRow.title = errorMsg;    },
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/88bac40924c762a8a54555c9bcd205264ecd3a87/selenium-testrunner.js/buggy/code/javascript/core/scripts/selenium-testrunner.js