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

> +            assert_equals(r, theError, 'cancel should reject with the thrown error');
> +            test6.done();
> +        }));
> +});
> +
> +var test7 = async_test('Underlying source: calling enqueue on an empty canceled stream should not throw');
> +test7.step(function() {
> +    var controller;
> +    var rs = new ReadableStream({
> +        start: function(c) {
> +            controller = c;
> +        }
> +    });
> +
> +    rs.cancel();
> +    controller.enqueue('a') // Calling enqueue after canceling should not throw anything.

semicolon

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

Received on Thursday, 15 October 2015 09:13:29 UTC