blob: ded3992c006227731b9bd739c43dd515f6049b07 [file] [log] [blame]
<p>Subframe-2</p>
<script>
window.onload = function(evt) {
top.log("Subframe window.onload");
}
window.onunload = function(evt) {
top.log("Subframe window.onunload");
}
window.onpageshow = function(evt) {
top.log("Subframe window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
top.postMessage("subframe-loaded", "*");
}
window.onpagehide = function(evt) {
top.log("Subframe window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>