1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 14:14:58 +00:00
serenity/Tests/LibWeb/Text/input/FileAPI/Blob-intialized-with-strings-read-from-text.html

12 lines
354 B
HTML

<script src="../include.js"></script>
<script>
asyncTest(async (done) => {
const blob = new Blob(["This is some data to be read! 🦬"]);
const text = await blob.text();
if (text === "This is some data to be read! 🦬")
println("PASS");
else
println("FAIL");
done();
});
</script>