mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 03:45:08 +00:00

This test proves the ability of structuredClone() to serialize and deserialize a File object.
8 lines
No EOL
174 B
Text
8 lines
No EOL
174 B
Text
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 |