rem: var history = document.getElementById("history"); var row = document.createElement("div"); row.className = "row"; if (history.childNodes.length % 2) row.className += " alt";  var expression = document.createElement("div"); expression.className = "expression"; expression.innerText = script; row.appendChild(expression);  var result = document.createElement("div"); result.className = "result"; result.innerText = mainWindow.DebuggerDocument.evaluateScript_inCallFrame_(script, mainWindow.currentCallFrame.index); row.appendChild(result);  history.appendChild(row); history.scrollTop = history.scrollHeight; 
add: appendMessage(script, mainWindow.DebuggerDocument.evaluateScript_inCallFrame_(script, mainWindow.currentCallFrame.index)); 
context: function sendScript(script){    var history = document.getElementById("history");    var row = document.createElement("div");    row.className = "row";    if (history.childNodes.length % 2)        row.className += " alt";    var expression = document.createElement("div");    expression.className = "expression";    expression.innerText = script;    row.appendChild(expression);    var result = document.createElement("div");    result.className = "result";    result.innerText = mainWindow.DebuggerDocument.evaluateScript_inCallFrame_(script, mainWindow.currentCallFrame.index);    row.appendChild(result);    history.appendChild(row);    history.scrollTop = history.scrollHeight;    if (script.indexOf("=") >= 0)        mainWindow.currentCallFrame.loadVariables();}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5650/380e7c44c877fea046132cf77c4478bea703ea84/console.js/buggy/WebKitTools/Drosera/console.js