ladybird/Libraries/LibWeb/HTML/EventLoop
Jelle Raaijmakers c8baa6e179 LibWeb: Remove tasks for destroyed documents instead of running them
Previously, destroyed-document tasks were forced to be runnable to
prevent them from leaking in the task queue. Instead, discard them
during task selection so their callbacks never run with stale state.

This used to cause issues with a couple of `spin_until()`s in the past,
but since we've removed some of them that had to do with the document
lifecycle, let's see if we can stick closer to the spec now.
2026-03-19 15:24:46 -05:00
..
EventLoop.cpp Everywhere: Consolidate double/triple click handling to use click count 2026-03-17 04:01:29 -05:00
EventLoop.h LibWeb+AK: Use AK::Queue for the microtask queue 2026-03-16 09:38:20 +01:00
Task.cpp LibWeb: Remove tasks for destroyed documents instead of running them 2026-03-19 15:24:46 -05:00
Task.h LibWeb: Add the Crypto task source 2025-12-28 18:56:50 +01:00
TaskQueue.cpp LibWeb: Remove tasks for destroyed documents instead of running them 2026-03-19 15:24:46 -05:00
TaskQueue.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00