ladybird/Tests/LibWeb/Text/input/Streams/init-from-fetch.html
2025-03-20 11:50:49 +01:00

15 lines
438 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {
fetch("./../basic.html", { mode: "no-cors" })
.then(response => response.body)
.then(body => {
const reader = body.getReader();
reader.read();
println("Was able to create a reader from a Fetch response!");
done();
});
});
</script>