<!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>
