Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / linkHeader / link-dnsprefetch-in-script.html
blob2a0cd394542d7ca86a1c4842e4f3979a4869d1fd
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("<script src='resources/link-dnsprefetch-script.php'></s"+"cript>");
12 </script>
13 This test checks if a Link header inside an iframe triggered a dns prefetch.