kripken/emscripten — pull request #2180 by TV4Fun (2014-03-04 00:31:06+00:00)
Title: Implement emscripten_async_wget2_data

This adds the new function emscripten_async_wget2_data to read from
an XMLHTTPRequest directly into memory while supporting advanced features.
I don't like the way we _malloc and then copy into memory from the XHR
response. Is there any way to just add the XHR response to the heap and save
a memcpy?