chromium/third_party/blink/web_tests/fast/loader/resources/ping-error-frame.html

<script>
addEventListener("unload", function() {
    parent.frameUnloaded();
}, true);
</script>