[FileAPI] Allow Blob constructor to take ownership of ArrayBuffer(View) / invoke DetachArrayBuffer (#23)

We should do this in the Blob constructor. Per Jonas Sicking, something like this:

"new Blob([myArrayBuffer], { transfer: [myArrayBuffer] });
and
new File([otherBuffer], "myFile", { transfer: [otherBuffer] });"

would work quite well I think.

This might syntactically resemble transferList from postMessage.


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/23

Received on Monday, 19 October 2015 16:37:50 UTC