Skip to content

src,lib: re-implement DOMException as a cloneable native object

The JavaScript-implemented DOMException is not structured cloneable without ugly hacks.

This re-implements it in C++ as a cloneable BaseObject.

Also makes AbortError structured cloneable.

Refs: https://github.com/nodejs/node/issues/41038

Merge request reports

Loading