Re: [whatwg/streams] ReadableStreamClose() should assert IsReadableStream(stream) (#453)

Nah, it's all good. But just to be sure we're on the same page: the intent of the asserts is as documentation, with no normative behavior impact. They state invariants which are guaranteed by other normative text. In an implementation that follows the spec without bugs, they will never fire, no matter how convolutedly the web developer uses the APIs.

(I think "Assert:" should autolink the appropriate paragraph near the bottom of https://tc39.github.io/ecma262/#sec-algorithm-conventions which explains this. I will work on that.)

---
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/453#issuecomment-221716367

Received on Wednesday, 25 May 2016 21:41:10 UTC