chromium/third_party/blink/web_tests/fast/loader/resources/subframe-that-removes-itself.html

<script>
parent.document.body.removeChild(parent.document.getElementsByTagName("iframe")[0]);
</script>