mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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.
5 lines
95 B
HTML
5 lines
95 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
document.startViewTransition(() => { throw "error"; });
|
|
</script>
|