blob: 2ba0977602c0efb1f6d704501f67f4eb3774f495 [file] [log] [blame] [edit]
<html><!-- webkit-test-runner [ AlwaysAllowLocalWebarchive=true ] -->
<script>
if (window.testRunner) {
testRunner.dumpFrameLoadCallbacks();
testRunner.dumpResourceLoadCallbacks();
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
if (window.internals)
internals.setAlwaysAllowLocalWebarchive(true);
function timedout() {
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<body>
<a href="resources/quarantined_top.webarchive" target="_blank">Click me</a>
<script>
document.querySelector("a").click()
setTimeout(timedout, 100);
</script>
This tests that clicking a link to a webarchive is cancelled.
</body>
</html>