[whatwg/streams] ReadableStreamCancel() should assert IsReadableStream(stream) (#452)

Currently the `ReadableStreamCancel()` algorithm simply does:

> Assert: stream is not undefined.

Since this function accesses slots on stream I think it would be much better to do a full `IsReadableStream(stream)` assertion.

---
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/452

Received on Wednesday, 25 May 2016 20:29:59 UTC