blob: 8cad71f24d138e33576a9fb098d2f9929e3585b7 [file] [log] [blame]
PASS ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
PASS ReadableStream teeing: should be able to read one branch to the end without affecting the other
PASS ReadableStream teeing: values should be equal across each branch
PASS ReadableStream teeing: errors in the source should propagate to both branches
PASS ReadableStream teeing: canceling branch1 should not impact branch2
PASS ReadableStream teeing: canceling branch2 should not impact branch2
PASS ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array
PASS ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches
PASS ReadableStream teeing: erroring a teed stream should properly handle canceled branches
PASS ReadableStream teeing: closing the original should immediately close the branches
PASS ReadableStream teeing: erroring the original should immediately error the branches
PASS ReadableStreamTee should not use a modified ReadableStream constructor from the global object