blob: d767392dd53c73bd69f72447b5128103fadb2d29 [file] [log] [blame]
<script>
addEventListener("unload", function() {
var anc = document.getElementById("lk");
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent(
"click", true, true, window, 1, 0, 0, 0, 0,
false, false, false, false, 0, anc);
anc.dispatchEvent(evt);
}, false);
</script>
<a id="lk" href="resources/fail-and-notify-done.html">Link to failure.</a>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.location = "resources/pass-and-notify-done.html";
</script>