- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 26 Nov 2015 03:53:56 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 26 November 2015 11:54:33 UTC
> + > +}, '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