Issue #1230

This test-case is intended for Issue #1230 - Ajax request displayed as finished before it should.
Jan Odvarko, odvarko@gmail.com

  1. Open Firebug and activate the Console panel.
  2. Make sure the XMLHttpRequests options is checked.
  3. Click on the Long Request button and wait 5 seconds for the response.
  4. The request should be displayed in the panel immediately after click. The wait icon should be displayed till the request is in the progress.

The Issue1230.php looks like as follows:

<?php
$time_start = microtime(true);

// Sleep for a while
sleep(5);

$time_end = microtime(true);
$time = $time_end - $time_start;

echo "Did nothing in $time seconds\n";
?>