3 if (window
.testRunner
) {
4 testRunner
.dumpAsText();
5 testRunner
.dumpChildFramesAsText();
6 testRunner
.waitUntilDone();
8 if (window
.internals
) {
9 internals
.settings
.setLogDnsPrefetchAndPreconnect(true);
10 internals
.settings
.setLinkHeaderEnabled(true);
13 This test checks if a Link header inside an iframe triggered a dns prefetch.
14 <iframe src=
"resources/link-dnsprefetch-frame.php"></iframe>