Re: [streams] Fix ReadableStream constructor if not getting a promise as startResult (#250)

Hi Domenic,

I acknowledge that we forgot to add the code to set this@[[started]] to true.

The problem is other though. As I explained, in the shown examples, sometimes a promise is not returned or resolved, sometimes, even nothing is returned (which means startResult becomes undefined). The question is for those cases, how will the current algorithm behave?

We considered that if startResult is undefined, we should proceed to fulfillment and that's why we went to pull, though I already acknowledged that we forgot about the [[started]]

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/250#issuecomment-66270146

Received on Tuesday, 9 December 2014 11:38:37 UTC