mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 09:35:15 +00:00
These now crash as VM::call() uses ThrowExceptionOr<T>, which refuses to hold an empty JS::Value as its non-exception result. We only need to return an empty value when should_return_empty() says so for the return value of throw_dom_exception_if_needed(). Co-authored-by: Luke Wilde <lukew@serenityos.org>