- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 14 Jan 2016 22:49:38 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 15 January 2016 07:02:00 UTC
> + });
> +
> +}, '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