We should implement https://streams.spec.whatwg.org/#ws-class
I have it ready, I will begin upstreaming step by step soon.
I noticed that Safari Tech Preview implements an earlier version of the spec. What are the plans for updating to the latest version? The spec is quite stable these days. We have been tweaking edge case behaviors over the last month (e.g. what happens if you abort() then immediately close()) and have arrived at a place we are pretty happy with. The tests are also available in web-platform-tests.
Hi Domenic, It would be good to update to the latest spec but I haven't been able to allocate time for it. Hopefully, I will have some time during the summer. Let me know if there is any use case where not having writable stream support is highly damageable. From what I heard from you, I guess all pipe corner cases are now ironed out, that is really good and we should also be able to refresh the ReadableStream implementation.
That's great! Yeah, we are also happy with pipeTo(). I just noticed that Safari 10.1 shipped with an older version of the writable stream spec though :-/. Is there any chance of disabling it or similar until it is updated to the latest spec?
Created attachment 407292 [details] Patch
Committed r266172: <https://trac.webkit.org/changeset/266172> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407292 [details].
<rdar://problem/67814486>