Re: [streams] Clean up more web platform tests (#408)

> +promise_test(t => {
> +
> +  const promiseAsserts = [];
> +
> +  let controller;
> +  const theError = { name: 'unique error' };
> +  const rs = new ReadableStream({
> +    start(c) {
> +      controller = c;
> +    }
> +  });
> +
> +  const reader1 = rs.getReader();
> +
> +  promiseAsserts.push(
> +    promise_rejects(t, theError, reader1.closed)

push reader1.read()?

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

Received on Thursday, 26 November 2015 12:54:17 UTC