justus2510
7a92b47a35
LibWeb: Make FileReader fire progress event
...
Fixes wpt/FileAPI/reading-data-section/filereader_events.any.html :)
2024-10-15 08:42:37 +02:00
justus2510
55f0dc823f
LibWeb: Handle unpaired surrogates in USVStrings
...
This should fix (at least) the last two remaining WPT test failures in
FileAPI/unicode.html.
2024-10-13 22:24:28 +01:00
Kemal Zebari
c5f1e47883
LibWeb: Implement Blob::bytes()
...
Implements https://w3c.github.io/FileAPI/#dom-blob-bytes .
2024-07-26 10:21:32 +02:00
Kenneth Myhra
d9fb116bcc
Tests/LibWeb: Initialize Blob with string and read it from arrayBuffer()
2023-12-03 20:28:10 +01:00
Kenneth Myhra
b72489409a
Tests/LibWeb: Initialize Blob with string and read it from text()
2023-12-03 20:28:10 +01:00
Kenneth Myhra
3d86e16407
Tests/LibWeb: Verify instantiation behavior of Blob w/empty constructor
...
This verifies that a Blob instantiated with an empty constructor creates
a Blob with Blob.size equal to 0 and Blob.type equal to "".
2023-11-29 21:51:35 +01:00
Shannon Booth
77d32fcb5f
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.
2023-09-17 16:37:31 -06:00