Re: [streams] Byte stream update, including reference implementation (#361)

> +      CloseReadableByteStreamReader(this);
> +    }
> +  }
> +}
> +
> +function CallPull(controller) {
> +  const source = controller._underlyingByteSource;
> +
> +  const pullFunction = source['pull'];
> +  if (pullFunction === undefined) {
> +    return;
> +  }
> +
> +  const stream = controller._controlledReadableByteStream;
> +
> +  if (typeof pullFunction !== 'function') {

Added tests for non-callable pull/pullInto a8e4945b852621befee784f544f45c3eb4657fdc

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33654008

Received on Wednesday, 1 July 2015 07:22:13 UTC