[Webkit-unassigned] [Bug 39083] New: Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 13 13:30:26 PDT 2010


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

           Summary: Refactor FormData and Blob for better support of Blobs
                    synthesized by BlobBuilder
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kinuko at chromium.org


Refactor FormData and FormDataList for better integration with Blob and FileWriter's BlobBuilder.

With BlobBuilder [1] one can construct a Blob by combining arbitrary Strings and Blobs, and then send the synthesized Blob via xhr.  This is very similar to what current FormData [2] is doing, and to send such synthesized Blobs we'll need to utilize the same code as FormData.

To avoid duplicated code and clean up internal structures, it'd be better to have a common internal implementation for FormData, Blob and BlobBuilder.

[1] BlobBuilder http://www.w3.org/TR/file-writer-api/#idl-def-BlobBuilder
[2] FormData http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-formdata-interface
Discussions on BlobBuilder vs FormData: http://www.mail-archive.com/public-webapps@w3.org/msg08225.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