You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SharedArrayBuffer is not handled correctly in Response.
Reproducible By
> $ node
Welcome to Node.js v21.1.0.
Type ".help"for more information.
> await (new Response(new SharedArrayBuffer(10))).text()
Uncaught TypeError: Received non-Uint8Array chunk
at readAllBytes (node:internal/deps/undici/undici:1481:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fullyReadBody (node:internal/deps/undici/undici:1432:24)
at async specConsumeBody (node:internal/deps/undici/undici:4727:7)
at async REPL1:1:33
>
chrome
await (new Response(new SharedArrayBuffer(10))).text(); // '[object SharedArrayBuffer]'
Expected Behavior
await (new Response(new SharedArrayBuffer(10))).text(); // '[object SharedArrayBuffer]'
Logs & Screenshots
Environment
Additional context
The text was updated successfully, but these errors were encountered:
Bug Description
SharedArrayBuffer is not handled correctly in Response.
Reproducible By
Expected Behavior
Logs & Screenshots
Environment
Additional context
The text was updated successfully, but these errors were encountered: