- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 16 Jun 2015 01:13:21 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 16 June 2015 08:13:49 UTC
> + return Promise.reject(this._storedError);
> + }
> +
> + assert(this._ownerReadableByteStream !== undefined, 'This stream must be attached to a stream');
> +
> + return CancelReadableByteStream(this._ownerReadableByteStream, reason);
> + }
> +
> + read(view) {
> + if (!IsReadableByteStreamByobReader(this)) {
> + return Promise.reject(
> + new TypeError(
> + 'ReadableByteStreamByobReader.prototype.read can only be used on a ReadableByteStreamByobReader'));
> + }
> +
> + if (view === undefined) {
- Re: spec:
- Added a TODO to https://github.com/whatwg/streams/issues/300
- Shall we also check `IsDetachedBuffer()` on [[ViewedArrayBuffer]] as well as `ValidateTypedArray()` (which is not applicable for `DataView`)?
- Re: code: Done https://github.com/whatwg/streams/commit/422795d9e11e8a869e3eafd59d97895da5ccde36
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r32499125
Received on Tuesday, 16 June 2015 08:13:49 UTC