Skip to content

src: throw DOMException on cloning non-serializable objects#47839

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
legendecas:webidl/dataclone-error
Oct 8, 2023
Merged

src: throw DOMException on cloning non-serializable objects#47839
nodejs-github-bot merged 1 commit intonodejs:mainfrom
legendecas:webidl/dataclone-error

Conversation

@legendecas
Copy link
Copy Markdown
Member

Instead of TypeError, throwing DOMException in accordance to the HTML
structured serialize algorithms.

Fixes: #40841

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Structured cloning of transferable non-serializable objects should throw DOMException instead of TypeError

5 participants