Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / linkHeader / link-dnsprefetch-in-css.html
blob455418dc78c04b9310c434030087b43d544afa6f
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("<link rel='stylesheet' href='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.