[Webkit-unassigned] [Bug 41567] New: Implement FileReaderSync

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 3 03:27:45 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41567

           Summary: Implement FileReaderSync
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://rapilabs.com/test_sync.html
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shang.xiao.sanders at gmail.com


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 especially 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.

An example page is setup at http://rapilabs.com/test_sync.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list