ladybird/Libraries/LibWeb/HTML/EventLoop
Jelle Raaijmakers a5000d07c0 LibWeb: Prevent running permanently unrunnable tasks in EventLoop
In `::spin_processing_tasks_with_source_until()`, we would first take a
set of tasks based on a filter, and then run them one by one. If there
was more than one task matched and put in that vector, they could
interfere with each other's runnability by making later tasks
permanently unrunnable.

The `::take_tasks_matching()` API is a footgun - remove it in favor of
an API that takes tasks one by one, performing the runnability check
just in time.
2026-03-26 18:48:27 +01:00
..
EventLoop.cpp LibWeb: Prevent running permanently unrunnable tasks in EventLoop 2026-03-26 18:48:27 +01: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 when filtering on tasks 2026-03-22 14:26:50 -05:00
Task.h LibWeb: Remove tasks for destroyed documents when filtering on tasks 2026-03-22 14:26:50 -05:00
TaskQueue.cpp LibWeb: Prevent running permanently unrunnable tasks in EventLoop 2026-03-26 18:48:27 +01:00
TaskQueue.h LibWeb: Prevent running permanently unrunnable tasks in EventLoop 2026-03-26 18:48:27 +01:00