From 3d86e16407788bc12bfba8d31a5b427a75c077be Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Tue, 28 Nov 2023 21:24:53 +0100 Subject: [PATCH] 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 "". --- .../Text/expected/FileAPI/Blob-empty-constructor.txt | 1 + .../Text/input/FileAPI/Blob-empty-constructor.html | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/FileAPI/Blob-empty-constructor.txt create mode 100644 Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html diff --git a/Tests/LibWeb/Text/expected/FileAPI/Blob-empty-constructor.txt b/Tests/LibWeb/Text/expected/FileAPI/Blob-empty-constructor.txt new file mode 100644 index 0000000000..465701e346 --- /dev/null +++ b/Tests/LibWeb/Text/expected/FileAPI/Blob-empty-constructor.txt @@ -0,0 +1 @@ +PASS \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html b/Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html new file mode 100644 index 0000000000..891d7b51bd --- /dev/null +++ b/Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html @@ -0,0 +1,10 @@ + +