Open Bug 1265603 Opened 4 years ago Updated 4 years ago
RFE: A mechanism to recover from failure of File
Reader .read As Text(HTML _FORM _INPUT .files) after file got modified .
My proposal here is that when a file changes, that we make inputElement.files return a new File object which is updated to contain the new metadata.
So, basically when the FileReader fails, we have to go back to the HTMLInputElement.files and try again. The only strange thing is that .files attribute changes value without having any event to inform about it.
If by "we" you mean the web developer, then yes, that's my proposal.
I want add one more situation, there will also case where file was deleted from the disk or there is network fault (if file was network, or on removable disk) after user selected it with FORM_INPUT file control.
See Also: → 1265602
You need to log in before you can comment on or make changes to this bug.