Skip to content
Commit Detail

Commit b342552

Author
Kenton Varda <kenton@cloudflare.com> 2025-08-17 20:23:07 -0500
Parents
deb03a0
Tree
1aa0bb3
Fix bug in WorkerLoader when specifying `props`.

A JSG_STRUCT cannot have a simple handle as a field -- it must be wrapped in `jsg::JsRef`. Otherwise the handle ends up being discarded by a HandleScope before being delivered.

The tests were missing a test for props.

Files changed

1 file changed~1 modified