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

> +    }));
> +});
> +
> +var test8 = async_test('Underlying source: calling enqueue on a non-empty canceled stream should not throw');
> +test8.step(function() {
> +    var controller;
> +    var rs = new ReadableStream({
> +        start: function(c) {
> +            c.enqueue('a');
> +            c.enqueue('b');
> +            controller = c;
> +        }
> +    });
> +
> +    rs.cancel();
> +    controller.enqueue('c') // 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#r42099651

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