Closed as not planned
Description
Describe the Bug
When using the Atomics and Bulk Memory WASM features (SharedArrayBuffer
WASM memory) WebSocket::send_with_u8_array
throws an error from wasm-bindgen code. This can be worked around with a sed to create a Uint8Array
from the WASM array, but that's obviously not clean.
Edit: This seems similar to #3772.
Steps to Reproduce
Run build.sh
and serve.py
in this repository and put a WebSocket server on localhost:4000
: https://github.com/r58Playz/wasm-bindgen-ws-bug
Expected Behavior
WebSocket::send_with_u8_array
should function properly.
Actual Behavior
This error:
Additional Context
None