1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibWeb: Add an initial implementation for Web::FileAPI::FileReader

Some steps are still to be implemented, namely:
 * Properly aborting the read algorithm
 * Handling BinaryString type properly
 * Setting error on any error

But as it stands, this is enough functionality for the basic case of
reading the contents of a blob using the FileReader API.
This commit is contained in:
Shannon Booth 2023-09-09 13:29:01 +12:00 committed by Andrew Kaster
parent 47616210b6
commit 77d32fcb5f
7 changed files with 545 additions and 0 deletions

View file

@ -67,6 +67,7 @@ libweb_js_bindings(Fetch/Response)
libweb_js_bindings(FileAPI/Blob)
libweb_js_bindings(FileAPI/File)
libweb_js_bindings(FileAPI/FileList)
libweb_js_bindings(FileAPI/FileReader)
libweb_js_bindings(Geometry/DOMMatrix)
libweb_js_bindings(Geometry/DOMMatrixReadOnly)
libweb_js_bindings(Geometry/DOMPoint)