mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02: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>
|