Skip to content
Commit Detail

Commit 73d619b

Author
Erik Corry <ecorry@cloudflare.com> 2026-04-09 15:48:41 +0200
Parents
32a5758
Tree
93560c8
Copy BufferSource data in Body::extractBody per Fetch spec

The Fetch spec requires that constructing a Body from a BufferSource
creates an independent copy of the data. Previously we only copied
resizable buffers and aliased the backing store for fixed-size ones.
This change copies unconditionally for all buffer types, which
simplifies the code and improves spec conformance.

Files changed

1 file changed~1 modified