| <!DOCTYPE html> |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.dumpChildFrames(); |
| } |
| if (window.internals) |
| internals.settings.setLogDnsPrefetchAndPreconnect(true); |
| </script> |
| <link rel="preconnect" href="http://prefetch.wut.com.test" crossorigin> |
| <link rel="preconnect" href="http://prefetch.anon.wut.com.test" crossorigin=anonymous> |
| <link rel="preconnect" href="http://prefetch.whatever.wut.com.test" crossorigin=whatever> |
| <link rel="preconnect" href="http://prefetch.credentials.wut.com.test" crossorigin="use-credentials"> |
| This test verifies that a DNS prefetch request is sent and logged. |