Files
sdk/tests/web
Ömer Ağacan 652565b083 [dart2wasm] Handle undefined and null when converting errors caught from JS to string
In `_JavaScriptError`, instead of using `toString` method of the caught
objects, use the `String` constructor.

Fixes crashes when printing `null` and `undefined` exception values.

This is not directly related to #55481, but the issue was caught while
working on it.

Change-Id: Id6f7124730b4ffa125bd9d0fc8bcf3ed4de15a81
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/478367
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Ömer Ağacan <omersa@google.com>
2026-02-09 05:40:11 -08:00
..