mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 12:54:58 +00:00

This verifies that a Blob instantiated with an empty constructor creates a Blob with Blob.size equal to 0 and Blob.type equal to "".
10 lines
233 B
HTML
10 lines
233 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const blob = new Blob;
|
|
if (blob.size === 0 && blob.type === "")
|
|
println("PASS");
|
|
else
|
|
println("FAIL");
|
|
});
|
|
</script>
|