mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
Per step 13 of ScriptEvaluation in the ECMA-262 spec, the script body should only be evaluated if GlobalDeclarationInstantiation returned a normal completion. This can't currently be triggered since we always create fresh Script objects, but if we ever start reusing cached executables across evaluations, this would prevent a subtle bug where the script body runs despite GDI failing.
142 KiB
142 KiB