blob: c5bea1ef58a642a23694b6a5acad2080b8c80590 [file] [log] [blame]
<!DOCTYPE html>
<script id="script">
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
document.createElement("audio").load();
window.stop();
}
let num = 0;
function eventhandler() {
if (num < 2) {
num++;
script.appendChild(iframe);
}
document.onreadystatechange = eventhandler;
}
</script>
<body onload=runTest()>
<iframe id="iframe" onload="eventhandler()" srcdoc="foo"></iframe>
<p>This test has PASSED if it does not CRASH.</p>
</body>