Re: [whatwg/streams] Marking promise rejections as handled (#547)

I just realised that we can resolve this for getters by creating the Promise lazily when the getter is used. So, for example, the [[closedPromise]] slot of WritableStreamDefaultWriter would be undefined until `.closed` was accessed. User code which actually uses the getter is required to handle rejections.

-- 
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/547#issuecomment-255015765

Received on Thursday, 20 October 2016 05:55:55 UTC