cancel.any.html

PASSExpected11 of 11 subtests pass610 ms

Details

Test
/streams/readable-streams/cancel.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSReadableStream cancellation: integration test on an infinite stream derived from a random push source
PASSReadableStream cancellation: cancel(reason) should pass through the given reason to the underlying source
PASSReadableStream cancellation: cancel() on a locked stream should fail and not call the underlying source cancel
PASSReadableStream cancellation: should fulfill promise when cancel callback went fine
PASSReadableStream cancellation: returning a value from the underlying source's cancel should not affect the fulfillment value of the promise returned by the stream's cancel
PASSReadableStream cancellation: should reject promise when cancel callback raises an exception
PASSReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (1)
PASSReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (2)
PASSReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should reject when that one does
PASSReadableStream cancellation: cancelling before start finishes should prevent pull() from being called
PASSReadableStream cancellation: underlyingSource.cancel() should called, even with pending pull