OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS underlying sink's write should not be called until start finishes | |
3 PASS underlying sink's close should not be called until start finishes | |
4 PASS underlying sink's write or close should not be called if start throws | |
5 PASS underlying sink's write or close should not be invoked if the promise retur
ned by start is rejected | |
6 PASS returning a thenable from start() should work | |
7 FAIL controller.error() during start should cause writes to fail assert_throws:
write() should reject with the error function "function () { throw e }" threw ob
ject "TypeError: Cannot write to a errored writable stream" ("TypeError") expect
ed object "[object Object]" ("error1") | |
8 PASS controller.error() during async start should cause existing writes to fail | |
9 FAIL when start() rejects, writer promises should reject in standard order asser
t_array_equals: promises should reject in standard order property 0, expected "r
eady" but got "write" | |
10 Harness: the test ran to completion. | |
11 | |
OLD | NEW |