cloudflare / cloudflare/workerd

If `pedantic_wpt` is set, ReadableStream error must propagate to Response.formData() Promise

Open
#4,975 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.