cancel.any.html
Details
- Test
/streams/transform-streams/cancel.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | cancelling the readable side should call transformer.cancel() |
| PASS | cancelling the readable side should reject if transformer.cancel() throws |
| PASS | aborting the writable side should call transformer.abort() |
| PASS | aborting the writable side should reject if transformer.cancel() throws |
| FAIL | closing the writable side should reject if a parallel transformer.cancel() throws assert_unreached: flush should not be called Reached unreachable code |
| FAIL | readable.cancel() and a parallel writable.close() should reject if a transformer.cancel() calls controller.error() assert_unreached: Should have rejected: cancelPromise should reject with thrownError Reached unreachable code |
| FAIL | writable.abort() and readable.cancel() should reject if a transformer.cancel() calls controller.error() assert_unreached: Should have rejected: cancelPromise should reject with thrownError Reached unreachable code |
| FAIL | readable.cancel() should not call cancel() when flush() is already called from writable.close() assert_unreached: cancel should not be called Reached unreachable code |
| FAIL | readable.cancel() should not call cancel() again when already called from writable.abort() assert_equals: expected 1 but got 2 |
| FAIL | writable.close() should not call flush() when cancel() is already called from readable.cancel() assert_unreached: flush should not be called Reached unreachable code |
| FAIL | writable.abort() should not call cancel() again when already called from readable.cancel() assert_unreached: Should have rejected: undefined Reached unreachable code |