blob: ec4b529e08c915f1868a96dde7565b39d27b4d10 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function removeFrame()
{
document.body.removeChild(document.getElementById("frame"));
if (window.testRunner)
setTimeout(function() { testRunner.notifyDone();}, 0);
}
</script>
</head>
<body>
Test deleting a subframe from within its readystatechange event and garbage collecting
right after removing the video element from the document. We pass if we don't crash.
<iframe id="frame" src="resources/delete-frame-during-readystatechange-frame-with-gc-after-video-removal.html"></iframe>
</body>
</html>