Closed Mathnerd314 closed 6 years ago
I added error display using window.alert, it seems to work OK. Not sure how to trigger a FileReader error event so I didn't test that part of the code.
Any update on this?
Sorry for the late reply - I missed the previous notifications. The PR looks good to me.
To test the fr.onerror
, you could try to select a file for which you don't have the permission to read it. I'm getting a cryptic "Node was not found" error when I do that, but that's better than silently ignoring the error without user feedback.
Thanks for the PR and the follow-up!
Fixes #41.