mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
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:
parent
0b64a71603
commit
0f168d9ca2
2 changed files with 13 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue