blob: 14bd02a9bbd8d9882ad321fb39c37e5f57069df4 [file] [log] [blame]
<!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.