blob: ac9cb89d9ade04832286ddbda40b1e6bbbebd87b [file] [log] [blame]
<iframe id="x"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onunload = function() {
var frame = document.getElementById('x');
frame.contentWindow.postMessage('foo', '*');
}
</script>
<p>TEST PASS: If this test doesn't leak when run with
--enable-leak-detection</p>