ladybird/Tests/LibWeb/Text/input/HTML/requestAnimationFrame-gc.html

16 lines
341 B
HTML
Raw Normal View History

2025-03-18 19:28:35 +01:00
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest((done) => {
requestAnimationFrame(() => {
println("Collect garbage");
internals.gc();
});
requestAnimationFrame(() => {
println("PASS! (Didn't crash)");
done();
});
});
</script>