Files
node/test/parallel
Anna Henningsen 1274f89b8c worker: fix nested uncaught exception handling
We are using `ObjectPrototypeToString()` as a cross-context brand check
for built-in errors, but weren’t making sure to set that when
deserializing errors back into JS objects.

Fix that by setting `[Symbol.toStringTag]` manually, to make sure that
multiple serialize-and-deserialize cycles keep giving the same result.

Fixes: https://github.com/nodejs/node/issues/34309

PR-URL: https://github.com/nodejs/node/pull/34310
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-07-14 15:08:21 +02:00
..
2020-05-20 17:05:06 +02:00
2020-06-23 09:14:28 +00:00
2020-07-05 14:17:36 -07:00
2020-05-27 10:24:05 +02:00
2020-06-30 22:36:50 +02:00