mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 02:10:26 +00:00
The HTML event loop spec explicitly provides guidance for reentrancy in the "perform a microtask checkpoint" algorithm, so we cannot VERIFY for empty execution context before this early exit (as much as we'd like to). https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint See the microtask-checkpoint-reentrancy-via-responsexml-script test for an example of how this can happen from user scripts. |
||
|---|---|---|
| .. | ||
| EventLoop.cpp | ||
| EventLoop.h | ||
| Task.cpp | ||
| Task.h | ||
| TaskQueue.cpp | ||
| TaskQueue.h | ||