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.setLogDnsPrefetchAndPreconnect(true); | 8 internals.settings.setLogDnsPrefetchAndPreconnect(true); |
9 </script> | 9 </script> |
10 <link rel="preconnect" href="http://prefetch.wut.com.test"> | 10 <link rel="preconnect" href="//prefetch1.wut.com.test"> |
11 This test verifies that a DNS prefetch request is sent and logged. | 11 This test verifies that a preconnect is sent for schemeless host names. |
OLD | NEW |