mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Fixes crashing when "unload" event handler tries to access active document that has already been destroyed.
8 lines
239 B
HTML
8 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>
|