Re: [whatwg/streams] Align WritableStream structure with ReadableStream structure (#488)

>  
>      return this._closedPromise;
>    }
>  
> +  get desiredSize() {
> +    if (IsWritableStreamDefaultWriter(this) === false) {
> +      throw CreateWritableStreamDefaultWriterBrandCheckException('desiredSize');
> +    }
> +
> +    if (this._ownerWritableStream === undefined) {
> +      throw CreateWritableStreamDefaultWriterLockException('desiredSize');
> +    }
> +
> +    return WritableStreamDefaultWriterGetDesiredSize(this)
> +  }
> +
>    get ready() {

Oops! I see. I wrote the comment without remembering that the point is not yet finalized in #318.

---
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/pull/488/files/dfa07172203b4c292cfb5a3fc88e821a1db7c3db#r73128737

Received on Tuesday, 2 August 2016 10:14:46 UTC