Re: [streams] Add IsReadableStreamDisturbed predicate (#385)

>  import WritableStream from './lib/writable-stream';
>  import ByteLengthQueuingStrategy from './lib/byte-length-queuing-strategy';
>  import CountQueuingStrategy from './lib/count-queuing-strategy';
>  import TransformStream from './lib/transform-stream';
>  
>  global.ReadableStream = ReadableStream;
> +global.IsReadableStreamDisturbed = IsReadableStreamDisturbed;

I don't like this testing strategy because the global modifications are meant to be based on https://streams.spec.whatwg.org/#globals. I am not sure what the best strategy for testing it is though. I will try to work on something.

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

Received on Monday, 3 August 2015 16:01:25 UTC