mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
If linking fails, we throw a JS exception, and if there's no execution context on the VM stack at that time, we assert in VM::current_realm(). This is a hack to prevent crashing on failed module loads. Long term we need to rewrite module loading since it has been refactored to share code differently between HTML and ECMA262.