Re: [streams] Port a bunch of tests to web-platform-tests format (#397)

> +    });
> +    var reader = rs.getReader();
> +
> +    reader.read().then(test3.step_func(function(r) {
> +        assert_object_equals(r, { value: 'a', done: false }, 'the chunk read should be correct');
> +    }));
> +
> +    reader.closed.then(
> +        test3.step_func(function() { assert_unreached('closed should not fulfill'); }),
> +        test3.step_func(function(r) {
> +            assert_equals(r, theError, 'closed should reject with the thrown error');
> +            test3.done();
> +        }));
> +});
> +
> +var test4 = async_test('Underlying source: throwing pull method (second pull)');

nitpick: you've changed the description to:
  Underlying source <method>: throwing method/getter
for start but not for pull.

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

Received on Thursday, 15 October 2015 09:09:30 UTC