Skip to content

fix(web): support structuredClone for DOMException#32675

Open
bartlomieju wants to merge 1 commit intodenoland:mainfrom
bartlomieju:fix/domexception-structured-clone
Open

fix(web): support structuredClone for DOMException#32675
bartlomieju wants to merge 1 commit intodenoland:mainfrom
bartlomieju:fix/domexception-structured-clone

Conversation

@bartlomieju
Copy link
Member

Summary

Ref #31126 (comment)

Test plan

  • Tested structuredClone() preserves message, name, code, instanceof, and stack
  • Tested postMessage() to a Web Worker
  • Some WPT tests should now pass — will enable in a follow-up

🤖 Generated with Claude Code

Uses the cloneable resource registry to enable structured cloning of
DOMException objects. Serializes message, name, and stack; code is
derived from name on deserialization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant