/streams/transform-streams/general.any.html| status | subtest | message |
|---|---|---|
| PASS | TransformStream can be constructed with a transform function | |
| PASS | TransformStream can be constructed with no transform function | |
| PASS | TransformStream writable starts in the writable state | |
| PASS | Identity TransformStream: can read from readable what is put into writable | |
| PASS | Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable | |
| PASS | Uppercaser-doubler sync TransformStream: can read both chunks put into the readable | |
| PASS | Uppercaser async TransformStream: can read from readable transformed version of what is put into writable | |
| PASS | Uppercaser-doubler async TransformStream: can read both chunks put into the readable | |
| PASS | TransformStream: by default, closing the writable closes the readable (when there are no queued writes) | |
| PASS | TransformStream: by default, closing the writable waits for transforms to finish before closing both | |
| PASS | TransformStream: by default, closing the writable closes the readable after sync enqueues and async done | |
| PASS | TransformStream: by default, closing the writable closes the readable after async enqueues and async done | |
| PASS | Transform stream should call transformer methods as methods | |
| PASS | methods should not not have .apply() or .call() called | |
| PASS | TransformStream start, transform, and flush should be strictly ordered | |
| FAIL | it should be possible to call transform() synchronously | The value cannot be converted because it is not an integer. |
| PASS | closing the writable should close the readable when there are no queued chunks, even with backpressure | |
| PASS | enqueue() should throw after controller.terminate() | |
| PASS | enqueue() should throw after readable.cancel() | |
| PASS | controller.terminate() should do nothing the second time it is called | |
| FAIL | terminate() should abort writable immediately after readable.cancel() | promise_rejects_js: closed should reject with TypeError function "function() { throw e; }" threw object "[object Object]" ("cancelReason") expected instance of function "function TypeError() { [native… |
| PASS | terminate() should do nothing after readable.cancel() resolves | |
| PASS | start() should not be called twice | |
| FAIL | specifying a defined readableType should throw | assert_throws_js: constructor should throw function "() => new TransformStream({ readableType: 'bytes' })" threw object "TypeError: transformer.readableType must be undefined." ("TypeError") expected … |
| FAIL | specifying a defined writableType should throw | assert_throws_js: constructor should throw function "() => new TransformStream({ writableType: 'bytes' })" threw object "TypeError: transformer.writableType must be undefined." ("TypeError") expected … |
| PASS | Subclassing TransformStream should work |
bundle built 2026-07-16T07:16:48.063Z