ladybird/Tests/LibWeb/Text/input/Streams/ReadableStream-pipeThrough-cannot-pipe-locked-stream.html

17 lines
362 B
HTML

<script src="../include.js"></script>
<script>
asyncTest(done => {
const transformStream = new TransformStream();
const stream = new ReadableStream();
stream.getReader();
try {
stream.pipeThrough(transformStream);
}
catch (e) {
println(e);
}
done();
});
</script>