root/LayoutTests/http/tests/misc/resources/delayed-log.php

/* [<][>][^][v][top][bottom][index][help] */
<?php
  header("Content-Type: text/javascript");
  sleep($_GET["delay"]);
  echo "log('" . $_GET["msg"] . "');\n";
  if ($_GET["done"] == "1") {
      echo "if (window.testRunner)\n";
      echo "    testRunner.notifyDone();\n";
  }
?>

/* [<][>][^][v][top][bottom][index][help] */