Re: [streams] Tidy up precondition checking in ErrorReadableStream (f6d7882)

Hmm, what do you mean exactly by "bad strategy"? One generated from code, or one written in another spec?

One generated from code should never be able to hit the assert, since it would hit the TypeError first. On generated from a spec might hit the assert, indeed, which is the "must ensure..." clause.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/commit/f6d78821a8e4142cf8e9b6c42700020111bb17ed#commitcomment-10585491

Received on Monday, 6 April 2015 15:36:45 UTC