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

> +
> +}, 'ReadableStreamReader.prototype.cancel enforces a brand check');
> +
> +promise_test(t => {
> +
> +  return Promise.all([
> +    methodRejects(t, ReadableStreamReader.prototype, 'read', fakeReadableStreamReader()),
> +    methodRejects(t, ReadableStreamReader.prototype, 'read', realReadableStream(), true)
> +  ]);
> +
> +}, 'ReadableStreamReader.prototype.read enforces a brand check');
> +
> +test(() => {
> +
> +  methodThrows(ReadableStreamReader.prototype, 'releaseLock', fakeReadableStreamReader());
> +  methodThrows(ReadableStreamReader.prototype, 'releaseLock', realReadableStream(), true);

methodThrows doesn't take endTest parameter?

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

Received on Thursday, 26 November 2015 11:54:33 UTC