Commit dc38a01
doc: fix URL postMessage example in worker_threads
The example claimed that posting a URL object via MessageChannel would
print an empty object, but since v21.0.0 (commit d920b7c) it
throws a DataCloneError. Update the example and surrounding text to
reflect the current behavior.
Fixes: #60504
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kit Dallege <xaum.io@gmail.com>1 parent 3bbed16 commit dc38a01
1 file changed
Lines changed: 3 additions & 6 deletions
File tree
- doc/api