bad-strategies.any.html

FAILExpected5 of 7 subtests pass330 ms

Details

Test
/streams/writable-streams/bad-strategies.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSWritable stream: throwing strategy.size getter
PASSreject any non-function value for strategy.size
PASSWritable stream: throwing strategy.highWaterMark getter
FAILWritable stream: invalid strategy.highWaterMark
assert_throws_js: construction should throw a RangeError for -1 function "() => { new WritableStream({}, { size() { return 1; }, highWaterMark }); }" …
assert_throws_js: construction should throw a RangeError for -1 function "() => { new WritableStream({}, { size() { return 1; }, highWaterMark }); }" …
PASSWritable stream: throwing strategy.size method
FAILWritable stream: invalid strategy.size return value
assert_equals: write must reject with a RangeError for NaN expected "RangeError" but got "TypeError"
assert_equals: write must reject with a RangeError for NaN expected "RangeError" but got "TypeError"
PASSWritable stream: invalid size beats invalid highWaterMark