<!DOCTYPE html>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
async_test(t => {
  window.onload = t.step_func_done();
}, 'Removing iframe in promise reject handler should not crash');
</script>
<iframe src="resources/promise-reject-and-remove-iframe.html"></iframe>
