- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 15 Oct 2015 02:14:48 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 15 October 2015 09:15:22 UTC
> + }));
> +});
> +
> +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