chromium/third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/resources/promise-reject-and-remove-iframe.html

<!DOCTYPE html>
<script>
const promise = Promise.reject();

window.onload = () => {
  promise.catch(() => parent.document.querySelector('iframe').remove());
};
</script>

<!-- Load a slow script to delay window.onload for a while.
     Without this, crashes are flaky. -->
<script src="/common/slow.py"></script>