cloudflare / cloudflare/workerd
If `pedantic_wpt` is set, ReadableStream error must propagate to Response.formData() Promise
Open
wpt-conformance
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
See `fetch/api/response/response-error-from-stream.any.js`. Instead of the actual error from the stream, we throw our own error first:
TypeError: Parsing a Body as FormData requires a Content-Type header.
We likely just need to alter the order of the checks.
Contributor guide
Assessment
This issue has not been assessed yet.