- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 15 Oct 2015 01:32:41 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 15 October 2015 08:33:14 UTC
> + assert_throws(new TypeError(), function() { > + new ReadableStream({}, { > + size: function() { > + return 1; > + }, > + highWaterMark > + }); > + }, 'construction should throw a TypeError for ' + highWaterMark); > + } > +}, 'Readable stream: invalid strategy.highWaterMark'); > + > +var test2 = async_test('Readable stream: invalid strategy.size return value'); > +test2.step(function() { > + var numberOfCalls = 0; > + var elements = [NaN, -Infinity, +Infinity, -1]; > + var theError = []; theErrors --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/397/files#r42095723
Received on Thursday, 15 October 2015 08:33:14 UTC