kitesurf · WPT

FAIL
expected FAIL · 1562 ms
▶ run in kitesurf
Test
/streams/writable-streams/close.any.html
Actual
FAIL
Expected
FAIL
Unexpected
no
Duration
1562 ms
Harness
OK
Counts
Reason
Run
https://kitesurf.rendering.cfdata.org/?url=http%3A%2F%2Fwpt.live%2Fstreams%2Fwritable-streams%2Fclose.any.html ↗
Upstream
view on github.com/web-platform-tests/wpt ↗

Subtests

statussubtestmessage
PASSfulfillment value of writer.close() call must be undefined even if the underlying sink returns a non-undefined value
PASSwhen sink calls error asynchronously while sink close is in-flight, the stream should not become errored
PASSwhen sink calls error synchronously while closing, the stream should not become errored
PASSwhen the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close
PASSreleaseLock on a stream with a pending write in which the stream has been errored
PASSreleaseLock on a stream with a pending close in which controller.error() was called
PASSwhen close is called on a WritableStream in writable state, ready should return a fulfilled promise
PASSwhen close is called on a WritableStream in waiting state, ready promise should be fulfilled
PASSwhen close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time
PASSreturning a thenable from close() should work
FAILreleaseLock() should not change the result of sync close()assert_unreached: Should have rejected: .closed promise should be rejected Reached unreachable code
PASSreleaseLock() should not change the result of async close()
PASSclose() should set state to CLOSED even if writer has detached
PASSthe promise returned by async abort during close should resolve
PASSpromises must fulfill/reject in the expected order on closure
PASSpromises must fulfill/reject in the expected order on aborted closure
PASSpromises must fulfill/reject in the expected order on aborted and errored closure
PASSclose() should not reject until no sink methods are in flight
PASSready promise should be initialised as fulfilled for a writer on a closed stream
PASSclose() on a writable stream should work
PASSclose() on a locked stream should reject
PASSclose() on an erroring stream should reject
FAILclose() on an errored stream should rejectpromise_rejects_js: close should reject function "function() { throw e; }" threw object "error1: error1" ("error1") expected instance of function "function TypeError() { [native code] }" ("TypeError")
PASSclose() on an closed stream should reject
PASSclose() on a stream with a pending close should reject
PASSwrite() on a closed stream should reject

bundle built 2026-07-16T07:16:48.063Z