ladybird/Tests/LibWeb/Text/input/navigation/remove-iframe-from-timeout-callback.html
Timothy Flynn 96082d6ae1 LibWeb: Port some manually async tests to use asyncTest
These tests were mostly async tests written in a manual way. This ports
them to use the standard asyncTest() infrastructure.

This is mostly just to reduce calls to internals.signalTextTestIsDone,
which will have a required parameter in an upcoming test.
2024-10-03 07:07:28 -04:00

14 lines
316 B
HTML

<script src="../include.js"></script>
<div id="foo">
<iframe></iframe>
<script>
asyncTest(done => {
setTimeout(function () {
foo.remove();
// Pass (didn't crash)
done();
}, 0);
});
</script>
</div>
<iframe></iframe>