constructor.any.html

FAILExpected9 of 13 subtests pass427 ms

Details

Test
/streams/writable-streams/constructor.any.html
Harness
OK

Subtests

StatusSubtestMessage
FAILcontroller argument should be passed to start method
assert_equals: desiredSize should be null expected (object) null but got (number) 1
assert_equals: desiredSize should be null expected (object) null but got (number) 1
PASScontroller argument should be passed to write method
PASScontroller argument should not be passed to close method
PASShighWaterMark should be reflected to desiredSize
FAILWritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure
The value cannot be converted because it is not an integer.
The value cannot be converted because it is not an integer.
PASSWritableStream should be constructible with no arguments
FAILWritableStream can't be constructed with a defined type
assert_throws_js: constructor should throw function "() => new WritableStream({ type: 'bytes' })" did not throw
assert_throws_js: constructor should throw function "() => new WritableStream({ type: 'bytes' })" did not throw
FAILunderlyingSink argument should be converted after queuingStrategy argument
assert_throws_exactly: function "() => new WritableStream(underlyingSink, queuingStrategy)" threw object "error1: error1" but we expected it to throw object "error2: error2"
assert_throws_exactly: function "() => new WritableStream(underlyingSink, queuingStrategy)" threw object "error1: error1" but we expected it to throw object "error2: error2"
PASSWritableStream instances should have standard methods and properties
PASSWritableStreamDefaultController constructor should throw
PASSWritableStreamDefaultController constructor should throw when passed an initialised WritableStream
PASSWritableStreamDefaultWriter should throw unless passed a WritableStream
PASSWritableStreamDefaultWriter constructor should throw when stream argument is locked