- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 30 Nov 2015 10:13:01 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 30 November 2015 18:13:31 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); Thanks, fixed here and elsewhere in the file --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/408/files#r46179835
Received on Monday, 30 November 2015 18:13:31 UTC