mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02: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.