Re: [streams] Make .ready fulfill-only (#248)

>    t.plan(2);
>  
>    var recordedReason;
> -  var ws = new WritableStream({});
> +  var ws = new WritableStream({
> +    write(chunk) {
> +      return new Promise(() => {}); // forever-pending, so normally .ready would not fulfill.
> +    }

nice :)

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

Received on Monday, 1 December 2014 16:42:06 UTC