Closed Bug 1505602 Opened 7 years ago Closed 7 years ago

Remove unused enum class JS::ReadableStreamReaderMode

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jorendorff, Unassigned)

References

(Blocks 1 open bug)

Details

The third argument to JS::ReadableStreamGetReader(cx, stream, mode) is an enum indicating what kind of reader you want; but this is weird, as the corresponding JS method, `ReadableStream.prototype.getReader`, doesn't. The argument is unused and the enum only has one value. Let's get rid of this.
Nothing to see here - getReader does take a mode argument after all.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.