Closed
Bug 1262298
Opened 9 years ago
Closed 9 years ago
FileReader cannot reload data from File objects
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1260606
People
(Reporter: tgvaughan, Unassigned)
Details
(Keywords: APIchange)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160315153207
Steps to reproduce:
Prior to 45, I could use the following to reload a file for which I'd previously obtained a File object:
var reader = new FileReader();
reader.onload = fileLoaded;
reader.readAsText(fileObject);
where fileLoaded is the onload event handler.
Actual results:
After FF v45, the onload event handler is only called the first time I try to read the file. Subsequent calls (to retrieve updated file contents) do not call the event handler.
Expected results:
The onload event handler should have been called.
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•