- From: Jason Orendorff <notifications@github.com>
- Date: Thu, 15 Nov 2018 19:40:34 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 November 2018 19:40:57 UTC
Eight different algorithms take a forAuthorCode argument, and it is passed to a lot of places. But if I understand the spec correctly, forAuthorCode is meant to be true iff the stream's current [[reader]] is visible to author code. So it seems possible to give each reader a [[forAuthorCode]] field instead, and setting it to false in AcquireReadableStreamDefaultReader. This seems more direct, and might even be a nice simplification; if you agree, I'd like to contribute a patch. -- 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/964
Received on Thursday, 15 November 2018 19:40:57 UTC