rem: function init() { DWRUtil.setValue("useragent-real", navigator.userAgent); DWRUtil.setValue("useragent-reported", navigator.userAgent); 
add: function init() { DWRUtil.setValue("useragent-real", navigator.userAgent); DWRUtil.setValue("useragent-reported", navigator.userAgent); 
context: function init(){    DWRUtil.setValue("useragent-real", navigator.userAgent);    DWRUtil.setValue("useragent-reported", navigator.userAgent);    failures = $("failures");    progress = $("progress");    failreport = $("failreport");    execreport = $("execreport");    DWREngine.setErrorHandler(catchFailure);    DWREngine.setWarningHandler(DWREngine.defaultMessageHandler);    var rownum = 0;    DWRUtil.addRows("chart", tests, [        function(row)        {            var td = document.createElement("td");            td.setAttribute("id", "t" + rownum + "-num");            td.innerHTML = "" + rownum;            return td;        },        function(row)        {            var td = document.createElement("td");            td.setAttribute("id", "t" + rownum + "-code");            td.innerHTML = "" + row.code;            return td;        },        function(row)        {            var td = document.createElement("td");            td.setAttribute("id", "t" + rownum + "-data");            var display = DWRUtil.toDescriptiveString(row.data);            if (display.length > 30)            {                display = display.substring(0, 27) + "...";            }            td.innerHTML = display;            return td;        },        function(row)        {            return "<input type='button' value='Test' onclick='runTest(" + rownum + ")'/>";        },        function(row)        {            var td = document.createElement("td");            td.setAttribute("id", "t" + rownum + "-results");            td.innerHTML = "";            rownum++;            return td;        }    ]);}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/a6659fd28de5e0d001fe9e46da6cdb9dd78104c0/testsuite.js/buggy/web/testsuite.js