ladybird/Tests/LibWeb/Text/input/Streams/ReadableStream-pipeThrough-cannot-pipe-to-locked-stream.html
2025-03-20 11:50:49 +01:00

18 lines
396 B
HTML

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