Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / resources / subframe-with-unload-handler.html
blobe198a74ea5a2bf34fe47549d5f73ad1983b8a550
1 <html>
2 <head>
3 <script>
5 window.onload = function() {
6 alert("Subframe onload");
9 window.onunload = function() {
10 alert("Subframe onunload")
13 window.onpageshow = function(evt) {
14 alert("Subframe onpageshow");
17 window.onpagehide = function(evt) {
18 alert("Subframe onpagehide");
21 </script>
22 </head>
23 <body>
24 This subframe has an unload handler.
25 </body>
26 </html>