Closed Bug 1541746 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16167 - Verify that ReadableStreamTee doesn't pull more chunks than the branch HWM

Categories

(Core :: DOM: Core & HTML, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 16167 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/16167
Details from upstream follow.

Adam Rice <ricea@chromium.org> wrote:

Verify that ReadableStreamTee doesn't pull more chunks than the branch HWM

ReadableStreamTee() should only pull enough chunks to fill the HWM of the branches (which is 1), and no more. When pulling from the branches, verify that pull() on the original stream still is only called enough to fill the emptiest branch.

Verify also that tee() stops pulling when the original stream becomes errored.

Spec change: whatwg/streams#997
Supersedes: #15521

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2e47341bf6f
[wpt PR 16167] - Verify that ReadableStreamTee doesn't pull more chunks than the branch HWM, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.