JS Test Harness: Remove more link tags
[WebKit-https.git] / LayoutTests / http / tests / misc / webtiming-slow-load.php
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script>
5 </script>
6 <script src="../../js-test-resources/js-test-pre.js"></script>
7 </head>
8 <body>
9 <p id="description"></p>
10 <div id="console"></div>
11 <script>
12 description("Verifies that requestStart and responseStart are available before the main document has finished loading.");
13
14 var performance = window.performance || {};
15 var navigation = performance.navigation || {};
16 var timing = performance.timing || {};
17
18 shouldBeNonZero("timing.requestStart");
19 shouldBeNonZero("timing.responseStart");
20 shouldBe("timing.responseEnd", "0");
21
22 var successfullyParsed = true;
23 </script>
24 <script src="../../js-test-resources/js-test-post.js"></script>
25 <?php
26     echo str_repeat(" ", 100000);
27     flush();
28     ob_flush();
29     sleep(1);
30 ?>
31 </body>
32 </html>