Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / resources / pageshow-pagehide-subframe-2.html
blobded3992c006227731b9bd739c43dd515f6049b07
1 <p>Subframe-2</p>
2 <script>
3 window.onload = function(evt) {
4 top.log("Subframe window.onload");
7 window.onunload = function(evt) {
8 top.log("Subframe window.onunload");
11 window.onpageshow = function(evt) {
12 top.log("Subframe window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
13 top.postMessage("subframe-loaded", "*");
16 window.onpagehide = function(evt) {
17 top.log("Subframe window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
19 </script>