promise-reject-and-remove.html (358B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <script> 6 async_test(t => { 7 window.onload = t.step_func_done(); 8 }, 'Removing iframe in promise reject handler should not crash'); 9 </script> 10 <iframe src="resources/promise-reject-and-remove-iframe.html"></iframe>