OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script> | 2 <script> |
3 if (window.testRunner) { | 3 if (window.testRunner) { |
4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
5 testRunner.dumpChildFramesAsText(); | 5 testRunner.dumpChildFramesAsText(); |
6 } | 6 } |
7 if (window.internals) | 7 if (window.internals) |
8 internals.settings.setLogPreload(true); | 8 internals.settings.setLogPreload(true); |
9 </script> | 9 </script> |
10 <link rel="preload" href="http://prefetch.wut.com.test/1.gif"> | 10 <link rel="preload" as="fetch" href="http://prefetch.wut.com.test/1.gif"> |
11 <link rel="preload" as="image" href="gopher:???://prefetch.wut.com.test/2.gif"> | 11 <link rel="preload" as="image" href="gopher:???://prefetch.wut.com.test/2.gif"> |
12 <link rel="preload" as="image" href=""> | 12 <link rel="preload" as="image" href=""> |
13 <link rel="preload" as="image"> | 13 <link rel="preload" as="image"> |
14 <link rel="preload" as="image" href="http://prefetch.wut.com.test/3.gif"> | 14 <link rel="preload" as="image" href="http://prefetch.wut.com.test/3.gif"> |
15 This test verifies that a preload request is sent and logged. | 15 This test verifies that a preload request is sent and logged. |
OLD | NEW |