- From: Adam Rice <notifications@github.com>
- Date: Tue, 17 Oct 2017 13:43:18 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/streams/pull/811/review/69888035@github.com>
ricea commented on this pull request. > + 1. Set *this*.[[transformStreamController]] to *undefined*. + 1. Set *this*.[[backpressure]] and *this*.[[backpressureChangePromise]] to *undefined*. + 1. Let _readableType_ be ? GetV(_transformer_, `"readableType"`). + 1. If _readableType_ is not *undefined*, throw a *RangeError* exception. + 1. Let _writableType_ be ? GetV(_transformer_, `"writableType"`). + 1. If _writableType_ is not *undefined*, throw a *RangeError* exception. + 1. Let _controller_ be ? Construct(`<a idl>TransformStreamDefaultController</a>`, « *this* »). + 1. Set *this*.[[transformStreamController]] to _controller_. + 1. Let _startPromise_ be <a>a new promise</a>. + 1. Let _source_ be ! Construct(`<a idl>TransformStreamDefaultSource</a>`, « *this*, _startPromise_ »). + 1. Let _readableStrategy_ be ! ObjectCreate(<a>%ObjectProperty%</a>). + 1. Perform ! CreateDataProperty(_readableStrategy_, `"size"`, _size_). + 1. Perform ! CreateDataProperty(_readableStrategy_, `"highWaterMark"`, _highWaterMark_). + 1. Set *this*.[[readable]] to ? Construct(`<a idl>ReadableStream</a>`, « _source_, _readableStrategy_ »). + 1. Let _sink_ be ! Construct(`<a idl>TransformStreamDefaultSink</a>`, « *this*, _startPromise_ »). + 1. Set *this*.[[writable]] to ? Construct(`<a idl>WritableStream</a>`, « _sink_, _writableStrategy_ »). Yes, and issue #777 which discusses it. -- 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/811#discussion_r145133832
Received on Tuesday, 17 October 2017 13:43:41 UTC