blob: dcc58152c02bd7af3edb2b1bb72c8a586e47a36a [file] [log] [blame]
<!DOCTYPE html>
<html>
<body onpageshow="onPageshow(event)" onpagehide="onPagehide(event)">
<p>Subframe 2</p>
<iframe src="pageshow-pagehide-subsubframe-cachable-2.html"></iframe>
<script>
window.onload = function (e) {
top.log("Subframe2 window.onload");
}
function onPageshow(e)
{
top.log(`Subframe2 window.onpageshow, target = ${e.target}, persisted = ${e.persisted}`);
}
function onPagehide(e)
{
top.log(`Subframe2 window.onpagehide, target = ${e.target}, persisted = ${e.persisted}`);
}
</script>
</body>
</html>