mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibWeb: Run only tasks with navigation source in "apply history step"
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
This commit is contained in:
parent
f26dd29b4d
commit
e09816c37c
Notes:
sideshowbarker
2024-07-17 03:25:24 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: e09816c37c
Pull-request: https://github.com/SerenityOS/serenity/pull/23652
Reviewed-by: https://github.com/ADKaster ✅
5 changed files with 58 additions and 2 deletions
|
@ -0,0 +1 @@
|
|||
|
Loading…
Add table
Add a link
Reference in a new issue