ladybird/Tests/LibWeb/Text/input/navigation/iframe-unloading-order.html
Aliaksandr Kalenik d3cfe35fbd LibWeb: Do not destroy document until whole subtree completed unloading
Fixes crashing when "unload" event handler tries to access active
document that has already been destroyed.
2024-04-20 10:22:14 +02:00

7 lines
239 B
HTML

<script src="../include.js"></script>
<iframe id="iframe" src="../../data/iframe-unload-event.html"></iframe>
<script>
test(() => {
println("Test passes if it is possible to navigate away without crashing.");
});
</script>