Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / onunload-postmessage.html
blobac9cb89d9ade04832286ddbda40b1e6bbbebd87b
1 <iframe id="x"></iframe>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 window.onunload = function() {
7 var frame = document.getElementById('x');
8 frame.contentWindow.postMessage('foo', '*');
10 </script>
11 <p>TEST PASS: If this test doesn't leak when run with
12 --enable-leak-detection</p>