Re: [streams] Move stuff into controller to make RS and RBS closer (#418)

> +  });
> +
> +}, 'ReadableStream pull should be able to error a stream.');
> +
> +promise_test(() => {
> +
> +  let pullCalled = false;
> +
> +  const theError = new Error('rejected!');
> +  const otherError = new Error('other!');
> +
> +  const rs = new ReadableStream({
> +    pull(c) {
> +      pullCalled = true;
> +      c.error(theError);
> +      throw theError;

Oh, thanks for the advice. Done.

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

Received on Friday, 15 January 2016 07:02:00 UTC