blob: f103ab5b09c78b252794e0dd9312cb86bca3b727 [file] [log] [blame]
<body>
<div id="console"></div>
<script src="../../../resources/js-test.js"></script>
<script>
function prefetch_onload() {
testPassed('onload called!');
testRunner.notifyDone();
}
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
</script>
<html>
<p>This test will only print "PASS" or "FAIL" if link prefetches are
enabled, otherwise it will show nothing below.</p>
<link href="prefetch.link" rel="prefetch" onload="prefetch_onload()" onerror="testFailed('onerror')" />
</html>