ladybird/Tests/LibWeb/Text/input/FileAPI/Blob-intialized-with-strings-read-from-text.html

14 lines
370 B
HTML
Raw Normal View History

2025-03-18 19:28:35 +01:00
<!DOCTYPE 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>