write.any.html

FAILExpected12 of 13 subtests pass370 ms

Details

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

Subtests

StatusSubtestMessage
PASSWritableStream should complete asynchronous writes before close resolves
PASSWritableStream should complete synchronous writes before close resolves
PASSfulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value
PASSWritableStream should transition to waiting until write is acknowledged
PASSwhen write returns a rejected promise, queued writes and close should be cleared
FAILwhen sink's write throws an error, the stream should become errored and the promise should reject
promise_rejects_js: close() should be rejected function "function() { throw e; }" threw object "error1: error1" ("error1") expected instance of function "function TypeError() { [native code] }" ("Type…
promise_rejects_js: close() should be rejected function "function() { throw e; }" threw object "error1: error1" ("error1") expected instance of function "function TypeError() { [native code] }" ("Type…
PASSwriter.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection
PASSa large queue of writes should be processed completely
PASSWritableStreamDefaultWriter should work when manually constructed
PASSreturning a thenable from write() should work
PASSfailing DefaultWriter constructor should not release an existing writer
PASSwrite() on a stream with HWM 0 should not cause the ready Promise to resolve
PASSwriting to a released writer should reject the returned promise