/streams/readable-streams/bad-strategies.any.html| status | subtest | message |
|---|---|---|
| PASS | Readable stream: throwing strategy.size getter | |
| FAIL | Readable stream: strategy.size errors the stream and then throws | assert_throws_exactly: enqueue should re-throw the error function "() => controller.enqueue('a')" did not throw |
| FAIL | Readable stream: strategy.size errors the stream and then returns Infinity | assert_throws_js: enqueue should throw a RangeError function "() => controller.enqueue('a')" did not throw |
| PASS | Readable stream: throwing strategy.size method | |
| PASS | Readable stream: throwing strategy.highWaterMark getter | |
| FAIL | Readable stream: invalid strategy.highWaterMark | assert_throws_js: construction should throw a RangeError for -1 function "() => { new ReadableStream({}, { size() { return 1; }, highWaterMark }); }" … |
| FAIL | Readable stream: invalid strategy.size return value | assert_equals: closed should reject with the error for NaN expected (undefined) undefined but got (object) object "TypeError: The value cannot be converted because it is not an integer." |
| FAIL | Readable stream: invalid strategy.size return value when pulling | assert_equals: closed should reject with the error for NaN expected (undefined) undefined but got (object) object "TypeError: The value cannot be converted because it is not an integer." |
bundle built 2026-07-16T07:16:48.063Z