/streams/writable-streams/bad-strategies.any.html| status | subtest | message |
|---|---|---|
| PASS | Writable stream: throwing strategy.size getter | |
| PASS | reject any non-function value for strategy.size | |
| PASS | Writable stream: throwing strategy.highWaterMark getter | |
| FAIL | Writable stream: invalid strategy.highWaterMark | assert_throws_js: construction should throw a RangeError for -1 function "() => { new WritableStream({}, { size() { return 1; }, highWaterMark }); }" … |
| PASS | Writable stream: throwing strategy.size method | |
| FAIL | Writable stream: invalid strategy.size return value | assert_equals: write must reject with a RangeError for NaN expected "RangeError" but got "TypeError" |
| PASS | Writable stream: invalid size beats invalid highWaterMark |
bundle built 2026-07-16T07:16:48.063Z