blob: 5ba26a89a576bf9e7301f6ac17f5002cabd40baa [file] [log] [blame]
Harness Error (FAIL), message = Unhandled rejection: error1
PASS start: errors in start cause WritableStream constructor to throw
FAIL close: throwing method should cause writer close() and ready to reject assert_unreached: Should have rejected: ready promise must reject with the thrown error Reached unreachable code
FAIL close: returning a rejected promise should cause writer close() and ready to reject assert_unreached: Should have rejected: ready promise must reject with the same error Reached unreachable code
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
PASS write: returning a rejected promise (second write) should cause writer write() and ready to reject
FAIL abort: non-function abort method with .apply assert_throws_js: constructor should throw function "() => new WritableStream({
abort: { apply() {} }
})" did not throw
PASS abort: throwing getter should cause abort() and closed to reject
PASS abort: throwing method should cause abort() and closed to reject