summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/loading/preload-slow-loading.php
blob: cab0369509514ac58a74b66e795c42413b2a4542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?
header("Content-Type: text/html; charset=utf-8");
?>
<!-- <?php
# Spam a bunch of As to make sure we blow past any buffers.
print str_repeat("A", 2048);
?> -->
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.dumpResourceResponseMIMETypes();
}
</script>
<script src="non-existant-1"></script>
<?php
ob_flush();
flush();
sleep(1);
?>
<script>
document.write("<!--");
</script>
<img src="preload-slow-target.jpg">
<script>
document.write("-->");
</script>
<script src="non-existant-2"></script>