blob: c0dcd6ff392a0447af8dc58f8c277d000541feb7 [file] [log] [blame]
Test passes if it does not crash.
<iframe id=target></iframe>
<span id=result></span>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
const target = document.getElementById("target");
const contentWindow = target.contentWindow;
contentWindow.requestAnimationFrame(() => {
target.remove();
if (window.testRunner) {
setTimeout(() => { testRunner.notifyDone(); }, 0);
}
});
contentWindow.requestAnimationFrame(() => { });
</script>