Feature Request: Implement FileReaderSync
Reported by shang.xi...@gmail.com, Jul 2 2010
Chrome Version : 6.0.447.0 (Official Build 50594) dev URLs (if applicable) : http://rapilabs.com/test_sync.html Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 5: FAIL Firefox 4: FAIL IE 7: IE 8: What steps will reproduce the problem? 1. Navigate to http://rapilabs.com/test_sync.html 2. Select a file with the provided file input What is the expected result? An alert dialog displaying the contents of the selected file What happens instead? Uncaught ReferenceError: FileReaderSync is not defined Please provide any additional information below. Attach a screenshot if possible. FileReaderSync is the synchronous counterpart of FileReader as defined in the HTML5 specification: http://www.w3.org/TR/FileAPI/#FileReaderSync. Reading files synchronously would typically be done in a web worker so as not to freeze the application. This is useful with GWT applications to create a java.io.Reader implementation that reads blobs using the File API. This means that you can plug a blob reader into your favourite library that requires a Reader to run, eg: opencsv. This is currently only possible using Gears' Blob.getBytes() which is also synchronous.
Jul 3 2010,
This is part of Webkit. Issue raised: https://bugs.webkit.org/show_bug.cgi?id=41567
Sep 22 2010,
Sep 23 2010,
Nov 26 2010,
It's very useful for uploading multiple files by XmlHttpRequest
Jan 26 2011,
Nothing since June? :(
Feb 14 2011,
why FileReaderSync was implemented only in web workers?
Mar 25 2011,
Jun 11 2011,
Jun 14 2011,
Jun 14 2011,
FileReaderSync has already been implemented. Please note that it could only be constructed from the web workers per the File API spec.
Oct 13 2012,
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
Mar 11 2013,
Apr 6 2013,
Sign in to add a comment