Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: LayoutTests/http/tests/misc/webtiming-slow-load.php

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 </script> 5 </script>
6 <script src="../../js-test-resources/js-test-pre.js"></script> 6 <script src="../../js-test-resources/js-test.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
11 <script> 11 <script>
12 description("Verifies that requestStart and responseStart are available before t he main document has finished loading."); 12 description("Verifies that requestStart and responseStart are available before t he main document has finished loading.");
13 13
14 window.performance = window.performance || {}; 14 window.performance = window.performance || {};
15 var navigation = performance.navigation || {}; 15 var navigation = performance.navigation || {};
16 var timing = performance.timing || {}; 16 var timing = performance.timing || {};
17 17
18 shouldBeNonZero("timing.requestStart"); 18 shouldBeNonZero("timing.requestStart");
19 shouldBeNonZero("timing.responseStart"); 19 shouldBeNonZero("timing.responseStart");
20 shouldBe("timing.responseEnd", "0"); 20 shouldBe("timing.responseEnd", "0");
21 21
22 </script> 22 </script>
23 <?php 23 <?php
24 echo str_repeat(" ", 100000); 24 echo str_repeat(" ", 100000);
25 flush(); 25 flush();
26 ob_flush(); 26 ob_flush();
27 sleep(1); 27 sleep(1);
28 ?> 28 ?>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698