OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS WritableStream should complete asynchronous writes before close resolves | |
3 PASS WritableStream should complete synchronous writes before close resolves | |
4 PASS fulfillment value of ws.write() call should be undefined even if the underl
ying sink returns a non-undefined value | |
5 PASS WritableStream should transition to waiting until write is acknowledged | |
6 PASS when write returns a rejected promise, queued writes and close should be cl
eared | |
7 PASS when sink's write throws an error, the stream should become errored and the
promise should reject | |
8 FAIL writer.write(), ready and closed reject with the error passed to controller
.error() made before sink.write rejection assert_throws: writer.closed must reje
ct with the error passed to the controller function "function () { throw e }" th
rew object "error2: error2" ("error2") expected object "error1: error1" ("error1
") | |
9 PASS a large queue of writes should be processed completely | |
10 PASS WritableStreamDefaultWriter should work when manually constructed | |
11 PASS returning a thenable from write() should work | |
12 Harness: the test ran to completion. | |
13 | |
OLD | NEW |