Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / linkHeader / link-dnsprefetch-in-image.html
blob9fc49e437b14688a095a7987f40aa8971e35a157
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
7 if (window.internals) {
8 internals.settings.setLogDnsPrefetchAndPreconnect(true);
9 internals.settings.setLinkHeaderEnabled(true);
11 document.write("<img src='resources/link-dnsprefetch-image.php' onload='if (window.testRunner)testRunner.notifyDone()'>");
12 </script>
13 This test checks if a Link header inside an iframe triggered a dns prefetch.