Introduced by c45232db (feat(dom): add DOMException; structuredClone throws DataCloneError).
Linux CI unit shard 3 now deterministically fails structured clone nesting limit is catchable because the test still requires e instanceof TypeError, while the new and intended platform behavior is a DOMException with name === "DataCloneError".
Failure: https://github.com/zig-utils/zig-js/actions/runs/29338095020/job/87102490265
Acceptance:
- keep the nesting-limit exception catchable;
- assert the new public contract (
instanceof DOMException,name === "DataCloneError", legacycode === DOMException.DATA_CLONE_ERR); - do not weaken the nesting-limit boundary or revert production structuredClone behavior;
- run the exact focused test and push as a separate conventional test commit.