mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 07:32:52 +00:00
13 lines
424 B
HTML
13 lines
424 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest(async (done) => {
|
|
const blob = new Blob(["This is some data to be read! 🦬"]);
|
|
const uint8Array = await blob.bytes();
|
|
const string = new TextDecoder().decode(uint8Array);
|
|
if (string === "This is some data to be read! 🦬")
|
|
println("PASS");
|
|
else
|
|
println("FAIL");
|
|
done();
|
|
});
|
|
</script>
|