[whatwg/streams] Assert that desiredSize is non-null in ReadableStreamDefaultControllerShouldCallPull (#919)

https://streams.spec.whatwg.org/commit-snapshots/c3a23ee03a5242b9c7517006c849b114ae121cfc/#readable-stream-default-controller-should-call-pull

> Let desiredSize be ReadableStreamDefaultControllerGetDesiredSize\(controller\)\.
> If desiredSize > 0, return true\.
> 

There should probably be an assert that desiredSize is non-null here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/919

Received on Tuesday, 3 April 2018 09:40:33 UTC