<iframe></iframe> | |
<a href='about:blank'></a> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
let iframe = document.querySelector('iframe'); | |
let link = document.querySelector('a'); | |
iframe.contentWindow.addEventListener('unload', function() { | |
link.click(); | |
}); | |
location.href = './resources/pass-and-notify-done.html'; | |
</script> |