Re: [whatwg/streams] "Set this.[[associatedReadableByteStreamControll..." (#780)

We do need to check, otherwise respond() will try to access fields in `controller` without checking its type.

An oddity is that is doesn't appear to be necessary to verify that `view` actually is a view. It might be confusing that `respondWithNewView()` checks but the constructor doesn't. But in the interests of brevity I plan to leave the unnecessary test out.

-- 
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/780#issuecomment-326867099

Received on Monday, 4 September 2017 05:08:11 UTC