constructor.any.html
Details
- Test
/streams/writable-streams/constructor.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | controller argument should be passed to start method assert_equals: desiredSize should be null expected (object) null but got (number) 1 |
| PASS | controller argument should be passed to write method |
| PASS | controller argument should not be passed to close method |
| PASS | highWaterMark should be reflected to desiredSize |
| FAIL | WritableStream 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. |
| PASS | WritableStream should be constructible with no arguments |
| FAIL | WritableStream can't be constructed with a defined type assert_throws_js: constructor should throw function "() => new WritableStream({ type: 'bytes' })" did not throw |
| FAIL | underlyingSink 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" |
| PASS | WritableStream instances should have standard methods and properties |
| PASS | WritableStreamDefaultController constructor should throw |
| PASS | WritableStreamDefaultController constructor should throw when passed an initialised WritableStream |
| PASS | WritableStreamDefaultWriter should throw unless passed a WritableStream |
| PASS | WritableStreamDefaultWriter constructor should throw when stream argument is locked |