w3c / FileAPI

File API
https://w3c.github.io/FileAPI/
Other
104 stars 44 forks source link

readyState checks for FileReaderSync methods don't make sense #96

Closed jdm closed 6 years ago

jdm commented 6 years ago

Step 1 of each method is a check if the readyState is LOADING, but a) readyState is a FileReader concept, b) readyState does not get set by synchronous operations, c) there is no way for JS to run during the synchronous operations.

mkruisselbrink commented 6 years ago

Thanks, that indeed doesn't make sense. Fixed.