rem: if (size == 0) {  incr = 1; 
add: if (size == 0) {  incr = 1; 
context: function sendBatch(start, size, rate){    var incr = size;    var test, callback, param;    if (size == 0)    {        // otherwise we never progress        incr = 1;        test = tests[start];        callback = function(data) { testResults(data, start); };        param = test.data;        Test[test.code](param, { callback:callback });    }    else    {        DWREngine.beginBatch();        for (var i = start; i < start + size && i < tests.length; i++)        {            test = tests[i];            callback = new Function("data", "testResults(data, " + i + ");");            param = test.data;            Test[test.code](param, callback);        }        DWREngine.endBatch();    }    var percent = Math.ceil((start / tests.length) * 100);    progress.style.width = percent + "%";    if (start + incr < tests.length)    {        setTimeout("sendBatch(" + (start + incr) + ", " + size + ", " + rate + ")", rate);    }}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/a6659fd28de5e0d001fe9e46da6cdb9dd78104c0/testsuite.js/buggy/web/testsuite.js