Details
- Test
/streams/transform-streams/flush.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | TransformStream flush is called immediately when the writable is closed, if no writes are queued |
| PASS | TransformStream flush is called after all queued writes finish, once the writable is closed |
| PASS | TransformStream flush gets a chance to enqueue more into the readable |
| PASS | TransformStream flush gets a chance to enqueue more into the readable, and can then async close |
| FAIL | error() during flush should cause writer.close() to reject assert_unreached: Should have rejected: close() should reject Reached unreachable code |
| PASS | closing the writable side should call transformer.flush() and a parallel readable.cancel() should not reject |