Commit Detail
Commit 215decf
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. Also removes the WPT expected failures for body/cloned-any.js since the 'TypedArray is cloned' and 'ArrayBuffer is cloned' tests now pass.
Files changed
1 file changed~1 modified