mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 13:35:03 +00:00
In our implementation of the "apply the history step" algorithm, we have to spin-wait for the completion of tasks queued on the event loop. Before this change, we allowed tasks from any source to be executed while we were waiting. It should not be possible because it allows to interrupt history step application by anything, including another history step application. Fixes https://github.com/SerenityOS/serenity/issues/23598
13 lines
282 B
HTML
13 lines
282 B
HTML
<script src="../include.js"></script>
|
|
<div id="foo">
|
|
<iframe></iframe>
|
|
<script>
|
|
setTimeout(function () {
|
|
foo.remove();
|
|
// Pass (didn't crash)
|
|
internals.signalTextTestIsDone();
|
|
}, 0);
|
|
</script>
|
|
</div>
|
|
<iframe></iframe>
|