mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
15 lines
438 B
HTML
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>
|