rem: dump("__xulWinOpenTime:" + minOpenTime + "\n"); window.close(); 
add: dump("minOpenTime:" + minOpenTime + "\n" ); dump("maxOpenTime:" + maxOpenTime + "\n" ); dump("medOpenTime:" + medOpenTime + "\n" ); dump("__xulWinOpenTime:" + medOpenTime + "\n");  if ( AUTOCLOSE ) { window.close(); } else { document.getElementById("formTimes").value = openingTimes.slice(1); document.getElementById("formAvg").value   = avgOpenTime; document.getElementById("formMin").value   = minOpenTime; document.getElementById("formMax").value   = maxOpenTime; document.getElementById("formMed").value   = medOpenTime; document.getElementById("formAgain").setAttribute( "disabled", "false" ); } 
context: function reportResults() {    //XXX need to create a client-side method to do this?    var opening = openingTimes.join(':'); // times for each window open    var closing = closingTimes.join(':'); // these are for >1 url, as a group    //var ua = escape(navigator.userAgent).replace(/\+/g, "%2B"); // + == ' ', on servers    //var reportURL = SERVER_URL +     //    "?opening="    + opening +     //    "&closing="    + closing +     //    "&maxIndex="   + MAX_INDEX +     //    "&cycleSize="  + CYCLE_SIZE + 	//"&ua="         + ua;    //window.open(reportURL, "test-results");    var avgOpenTime = 0;    var minOpenTime = 99999;    // ignore first open    for (i = 1; i < MAX_INDEX; i++) {        avgOpenTime += openingTimes[i];        if ( minOpenTime > openingTimes[i] ) {            minOpenTime = openingTimes[i];        }    }    avgOpenTime = Math.round(avgOpenTime / (MAX_INDEX - 1));    dump("openingTimes="+openingTimes.slice(1)+"\n");    dump("avgOpenTime:" + avgOpenTime + "\n" );    dump("__xulWinOpenTime:" + minOpenTime + "\n");    window.close();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d9e648a061c4d53a0cabd000d8cd267150e8e13d/winopen.js/buggy/xpfe/test/winopen.js