1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 12:54:58 +00:00
serenity/Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html
Kenneth Myhra 3d86e16407 Tests/LibWeb: Verify instantiation behavior of Blob w/empty constructor
This verifies that a Blob instantiated with an empty constructor creates
a Blob with Blob.size equal to 0 and Blob.type equal to "".
2023-11-29 21:51:35 +01:00

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>