- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 15 Oct 2015 01:45:01 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 15 October 2015 08:45:31 UTC
> + }
> + });
> + }, 'constructing the stream should re-throw the error');
> +}, 'Underlying source start: throwing method');
> +
> +var test1 = async_test('Underlying source: throwing pull getter (initial pull)');
> +test1.step(function() {
> + var theError = new Error('a unique string');
> + var rs = new ReadableStream({
> + get pull() {
> + throw theError;
> + }
> + });
> +
> + rs.getReader().closed.then(
> + test1.step_func(function() { assert_unreached('closed should not fulfill'); }),
you can use test1.unreached_func
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/397/files#r42096939
Received on Thursday, 15 October 2015 08:45:31 UTC