1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 02:14:57 +00:00
serenity/Tests/LibWeb/Text/input/Streams/init-from-fetch.html

14 lines
422 B
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>