[Bug 21111] New: response property should return incremental data for ArrayBuffer and Blob

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21111

            Bug ID: 21111
           Summary: response property should return incremental data for
                    ArrayBuffer and Blob
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XHR
          Assignee: annevk@annevk.nl
          Reporter: esprehn@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

The spec currently says that response returns null if state is not DONE, but
this prevents getting ArrayBuffer binary data (ex. textures for WebGL) in a
stream for better performance.

For example you could download the assets for your game as an ArrayBuffer and
then if the offsets are known inside the Buffer for where the individual
textures exist you could create ArrayBufferViews and then convert back into an
ImageData to draw into canvas.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 25 February 2013 22:07:01 UTC