Bug 203806

Summary: FileReader is unable to read file after 1-2 minutes
Product: WebKit Reporter: mrskman
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aestes, ap, cdumez, harry-moore, kurt, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: iPhone / iPad   
OS: iOS 13   

mrskman
Reported 2019-11-04 05:42:36 PST
If you try to read a file from Files app it fails after 1-2 minutes with FileError code 1 (NOT_FOUND_ERR). How to reproduce: 1) Open https://stat-info.cz/safari-ios13-upload-from-files.html 2) Select Blob size (50 KiB should be enough for 2.5+ MiB files) 3) Click "Choose Files" button -> Browse -> Pick some file from your device 4) Now the script reads the file at rate 1 Blob/s and you can see how it fails after 1-2 minutes. This problem is not happening if the file is picked up from Photo Library.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-11-07 11:16:04 PST
mrskman
Comment 2 2019-11-09 02:12:01 PST
Looks like this is not happening if you use drag&drop on iPad. So maybe this problem is related to input[type=file] only.
harry-moore
Comment 3 2022-07-08 03:09:15 PDT
Glad to say that for me (running iOS 15.5) this is no longer an issue. I think this issue can be closed off.
Note You need to log in before you can comment on or make changes to this bug.