Closed Bug 1864406 Opened 1 year ago Closed 5 months ago

Add ReadableStreamBYOBReader.prototype.read(view, { min })

Categories

(Core :: DOM: Streams, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: mattias, Assigned: evilpies)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

The Streams specification has been updated to add an optional min option to byobReader.read(view). When the min option is given, the read will only be fulfilled as soon as min number of elements are available in the stream.

Specification: https://github.com/whatwg/streams/pull/1145
Tests: https://github.com/web-platform-tests/wpt/pull/29723

Assignee: nobody → evilpies
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: dev-doc-needed
Attachment #9432039 - Attachment description: WIP: Bug 1864406 - Add ReadableStreamBYOBReader.prototype.read(view, { min }) → Bug 1864406 - Add ReadableStreamBYOBReader.prototype.read(view, { min })
Attachment #9432039 - Attachment description: Bug 1864406 - Add ReadableStreamBYOBReader.prototype.read(view, { min }) → Bug 1864406 - Add ReadableStreamBYOBReader.prototype.read(view, { min }). r?saschanaz
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/df7878660191 Add ReadableStreamBYOBReader.prototype.read(view, { min }). r=saschanaz,webidl,smaug

Backed out for causing Linux build bustages in ReadableByteStreamController.cpp.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/dom/streams/ReadableByteStreamController.cpp:1829:26: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
Flags: needinfo?(evilpies)
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/56a71d42ee32 Add ReadableStreamBYOBReader.prototype.read(view, { min }). r=saschanaz,webidl,smaug
Flags: needinfo?(evilpies)
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

FF134 MDN docs work for this tracked in https://github.com/mdn/content/issues/36921

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: