mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 15:42:52 +00:00
Fixes crashing when "unload" event handler tries to access active document that has already been destroyed.
7 lines
239 B
HTML
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>
|