chromium/third_party/blink/web_tests/http/tests/navigation/resources/subframe-with-pagehide-handler-in-parent.html

<!DOCTYPE html>
<html>

<head>
  <script>
    function unload() {
      window.parent.imageLoad();
    }

    function load() {
      window.top.test();
    }
  </script>
</head>

<body onload="load();" onpagehide="unload();">
  This subframe has an pagehide handler.
</body>

</html>