Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / onunload-window-property.html
blob5982b437813cee4c650aec792df421b6480ebc78
1 <html>
3 <head>
4 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
11 function unload()
13 alert("unload");
16 function load()
18 window.onunload = unload;
19 location = "data:text/html,You should have seen an unload alert appear.<script>if (window.testRunner) testRunner.notifyDone(); </" + "script>";
22 </script>
23 </head>
25 <body onload="load()">
26 start document
27 </body>
29 </html>