1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 03:45:08 +00:00
serenity/Tests/LibWeb/Text/expected/HTML/StructuredClone-serializable-objects.txt
Kenneth Myhra 0f168d9ca2 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.
2024-02-26 16:10:20 -07:00

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