OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script> | 2 <script> |
3 if (window.testRunner) { | 3 if (window.testRunner) { |
4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
5 testRunner.dumpChildFramesAsText(); | 5 testRunner.dumpChildFramesAsText(); |
6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
7 } | 7 } |
8 if (window.internals) { | 8 if (window.internals) { |
9 internals.settings.setLogDnsPrefetchAndPreconnect(true); | 9 internals.settings.setLogDnsPrefetchAndPreconnect(true); |
10 internals.settings.setLinkHeaderEnabled(true); | |
11 } | 10 } |
12 </script> | 11 </script> |
13 This test checks if a Link header inside an iframe triggered a dns prefetch. | 12 This test checks if a Link header inside an iframe triggered a dns prefetch. |
14 <iframe src="resources/link-dnsprefetch-frame.php"></iframe> | 13 <iframe src="resources/link-dnsprefetch-frame.php"></iframe> |
OLD | NEW |