bad-underlying-sinks.any.html
Details
- Test
/streams/writable-streams/bad-underlying-sinks.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | start: errors in start cause WritableStream constructor to throw assert_throws_exactly: constructor should throw same error as throwing start method function "() => {
new WritableStream({
start() {
throw error1;
}
});
}" did not throw |
| PASS | close: throwing method should cause writer close() and ready to reject |
| PASS | close: returning a rejected promise should cause writer close() and ready to reject |
| PASS | close: throwing getter should cause constructor to throw |
| PASS | write: throwing getter should cause write() and closed to reject |
| PASS | write: throwing method should cause write() and closed to reject |
| PASS | write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject |
| FAIL | write: returning a rejected promise (second write) should cause writer write() and ready to reject assert_equals: the ready promise must not change, since the queue was full after the first write, so the pending one simply transitioned expected object "[object Promise]" but got object "[object Prom… |
| PASS | start: non-function start method |
| PASS | write: non-function write method |
| PASS | close: non-function close method |
| PASS | abort: non-function abort method with .apply |
| PASS | abort: throwing getter should cause abort() and closed to reject |
| PASS | abort: throwing method should cause abort() and closed to reject |