mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +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 "".
11 lines
233 B
HTML
11 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>
|