bad-underlying-sinks.any.html

FAILExpected12 of 14 subtests pass413 ms

Details

Test
/streams/writable-streams/bad-underlying-sinks.any.html
Harness
OK

Subtests

StatusSubtestMessage
FAILstart: 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
assert_throws_exactly: constructor should throw same error as throwing start method function "() => { new WritableStream({ start() { throw error1; } }); }" did not throw
PASSclose: throwing method should cause writer close() and ready to reject
PASSclose: returning a rejected promise should cause writer close() and ready to reject
PASSclose: throwing getter should cause constructor to throw
PASSwrite: throwing getter should cause write() and closed to reject
PASSwrite: throwing method should cause write() and closed to reject
PASSwrite: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject
FAILwrite: 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…
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…
PASSstart: non-function start method
PASSwrite: non-function write method
PASSclose: non-function close method
PASSabort: non-function abort method with .apply
PASSabort: throwing getter should cause abort() and closed to reject
PASSabort: throwing method should cause abort() and closed to reject