cloudflare / cloudflare/workerd

Constructing a Response with a stream on which getReader() is called should throw TypeError

Open
#4,972 0 comments 0 reactions 1 assignee Claimed by @jasnell View on GitHub
wpt-conformance
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

We correctly reject these situations:

- Constructing a Response with a stream on which read() is called
- Constructing a Response with a stream on which read() and releaseLock() are called

But we need to immediately reject a stream with a reader on it, as well.

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.