Re: [whatwg/streams] Align WritableStream structure with ReadableStream structure (#488)

>  }
>  
> -test('error argument is given to start method', t => {
> -  let error;
> +function writeArrayToStream(array, writableStreamWriter) {
> +  array.forEach(chunk => writableStreamWriter.write(chunk));
> +  return writableStreamWriter.close();
> +}
> +
> +test('desiredSize on a released writer', t => {
> +  const ws = new WritableStream({});
> +  const writer = ws.getWriter();
> +  writer.releaseLock();
> +
> +  try {

Fixed by https://github.com/whatwg/streams/pull/488/commits/d08b7c86de53a64755e25e32ddfde37847b3f701

I forgot that tape's throws has been fixed to be able to handle that.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/488/files/78da22f4ee481cce7a57cd438c0d01770fd6bdf2#r72947924

Received on Monday, 1 August 2016 09:28:44 UTC