Re: [whatwg/streams] Add URL.createObjectURL(stream) support (#480)

The URL returned by `createObjectURL` is reusable, but a `ReadableStream` is consumable.  This mismatch is my main objection to this.  I don't think we should create more implicit buffering in the browser.

Also, we see repeated cases of sites failing to call `revokeObjectURL`.  The API is just leak prone.

I think we would be better served making various `.src` attributes take Response or ReasableStream objects directly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/480#issuecomment-272628686

Received on Saturday, 14 January 2017 14:48:49 UTC