Tests/LibWeb: Add test to prove we can {,de}serialize File

This test proves the ability of structuredClone() to serialize and
deserialize a File object.
This commit is contained in:
Kenneth Myhra 2024-02-23 22:15:19 +01:00 committed by Andrew Kaster
commit 0f168d9ca2
Notes: sideshowbarker 2024-07-17 08:43:11 +09:00
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,8 @@
instanceOf Blob: true
Blob.type: text/plain
Blob.text(): Hello, Blob!
instanceOf File: true
File.name: hello.txt
File.type: text/plain
File.text(): Hello, File!
File.size: 12