Comments on version web-apps specs from 2013-10-31

Hello

I have a few comments on: https://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm from 2013-10-31. Apologies wether it is not the latest version: It took me some time to figure-out where was the right forum to send these comments to.

Section 2.1.3:
1.     Close(): For writeable streams, the close() method does not provide a data-completion hook (all-data-flushed-to-destination), unlike the close method that resolved the Promise returned by read().
2.     Pipe(): the readable Steam (the one that provides the pipe() method) is neutered in case of I/O error, but the state change of the writeable stream is not indicated. What if the write operation failed?

Section 3.2:
1.     Shouldn't a FileWrite also be capable of consuming a Stream? (Like XHR-pipe-to-FileWriter)
2.     Shouldn't an XMLHttpRequest also be capable of consuming a Stream? (eg. chunked PUT/POST)?

br.

—FiX

PS: My request to join this group is pending, so please Cc me in any reply/comment you may have until membership is fixed.

Received on Wednesday, 20 November 2013 21:02:07 UTC