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

18 lines
378 B
HTML

<!DOCTYPE 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>