Files
ladybird/Tests/LibWeb/Crash/CSS/view-transition-throwing-callback.html
Jelle Raaijmakers fb353a64c1 LibWeb: Detect promise-returning IDL callbacks correctly
The code generator checked is_object() to detect Promise return types,
but Promise<T> is a ParameterizedType, so the check always failed and
caused crashes in WebContent in throwing callback functions.
2026-03-12 10:38:43 +01:00

5 lines
95 B
HTML

<!DOCTYPE html>
<script>
document.startViewTransition(() => { throw "error"; });
</script>