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.
4 lines
95 B
HTML
4 lines
95 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
document.startViewTransition(() => { throw "error"; });
|
|
</script>
|