mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 15:13:07 +00:00
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.
14 lines
316 B
HTML
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>
|