I am using safari version 8.0.5. While uploading the file, file.onload is working fine.
On continuous process, if i open the file, do some changes and click on upload file button again, the file is not read in safari but works fine with chrome.
The console.log error i see is File not found.
hope i defined the problem.
EDIT-1
I think i confused with my text
readFile = new FileReader();
readFile.onload = function(){
// working fine on first hit. But not working if i do changes in my file using editor.
}
readFile.error = function(){
// this is called after i make changes in my file with notepad. The error says file not found.
}
Does Safari 8 supports FileReader
and File
constructors ?
caniuse.com says it doesnt support File
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.