- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 16 Jun 2015 00:28:03 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 16 June 2015 07:28:34 UTC
> + return new ReadableByteStreamReader(this); > + } > +} > + > +class ReadableByteStreamController { > + constructor(controlledReadableByteStream, underlyingByteSource) { > + if (IsReadableByteStream(controlledReadableByteStream) === false) { > + throw new TypeError('ReadableByteStreamController can only be constructed with a ReadableByteStream instance'); > + } > + > + if (controlledReadableByteStream._controller !== undefined) { > + throw new TypeError( > + 'ReadableByteStreamController instances can only be created by the ReadableByteStream constructor'); > + } > + > + const pullFunction = underlyingByteSource['pull']; Fixed by https://github.com/whatwg/streams/commit/6bd7b93bd92ca5bd257c3c27eeda40ffc5c466b1 --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r32496660
Received on Tuesday, 16 June 2015 07:28:34 UTC