52.6streams/writable-streams/
788 / 788 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 16
- Blocking files
- 0
Chrome 788 / 788 WPT subtests passing on the same files, none blocking
Tests
1 directory, 15 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
crashtests/ | 24 / 24 | 24 / 24 | 1 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
aborting.any.js 260 / 260 passingChrome 260 / 2600 failedClean
/streams/writable-streams/aborting.any.html OK 65 / 65
65 passing subtests
- Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject
- Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one
- abort() on a released writer rejects
- Aborting a WritableStream immediately prevents future writes
- Aborting a WritableStream prevents further writes after any that are in progress
- Fulfillment value of writer.abort() call must be undefined even if the underlying sink returns a non-undefined value
- WritableStream if sink's abort throws, the promise returned by writer.abort() rejects
- WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects
- WritableStream if sink's abort throws, the promise returned by ws.abort() rejects
- WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects
- Aborting a WritableStream passes through the given reason
- Aborting a WritableStream puts it in an errored state with the error passed to abort()
- Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied
- Closing but then immediately aborting a WritableStream causes the stream to error
- Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt
- Aborting a WritableStream after it is closed is a no-op
- WritableStream should NOT call underlying sink's close if no abort is supplied (historical)
- returning a thenable from abort() should work
- .closed should not resolve before fulfilled write()
- .closed should not resolve before rejected write(); write() error should not overwrite abort() error
- writes should be satisfied in order when aborting
- writes should be satisfied in order after rejected write when aborting
- close() should reject with abort reason why abort() is first error
- underlying abort() should not be called until underlying write() completes
- underlying abort() should not be called if underlying close() has started
- if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason
- an abort() that happens during a write() should trigger the underlying abort() even with a close() queued
- if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error
- writer close() promise should resolve before abort() promise
- writer.ready should reject on controller error without waiting for underlying write
- writer.abort() while there is an in-flight write, and then finish the write with rejection
- writer.abort(), controller.error() while there is an in-flight write, and then finish the write
- writer.abort(), controller.error() while there is an in-flight close, and then finish the close
- controller.error(), writer.abort() while there is an in-flight write, and then finish the write
- controller.error(), writer.abort() while there is an in-flight close, and then finish the close
- releaseLock() while aborting should reject the original closed promise
- releaseLock() during delayed async abort() should reject the writer.closed promise
- sink abort() should not be called until sink start() is done
- if start attempts to error the controller after abort() has been called, then it should lose
- stream abort() promise should still resolve if sink start() rejects
- writer abort() during sink start() should replace the writer.ready promise synchronously
- promises returned from other writer methods should be rejected when writer abort() happens during sink start()
- abort() should succeed despite rejection from write
- abort() should be rejected with the rejection returned from close()
- a rejecting sink.write() should not prevent sink.abort() from being called
- when start errors after stream abort(), underlying sink abort() should be called anyway
- when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined
- when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined
- calling abort() on an errored stream should fulfill with undefined
- sink abort() should not be called if stream was erroring due to controller.error() before abort() was called
- sink abort() should not be called if stream was erroring due to bad strategy before abort() was called
- abort with no arguments should set the stored error to undefined
- abort with an undefined argument should set the stored error to undefined
- abort with a string argument should set the stored error to that argument
- abort on a locked stream should reject
- WritableStreamDefaultController.signal
- the abort signal is signalled synchronously - write
- the abort signal is signalled synchronously - close
- the abort signal is not signalled on error
- the abort signal is not signalled on write failure
- the abort signal is not signalled on close failure
- recursive abort() call from abort() aborting signal (not started)
- recursive abort() call from abort() aborting signal
- recursive close() call from abort() aborting signal (not started)
- recursive close() call from abort() aborting signal
/streams/writable-streams/aborting.any.serviceworker.html OK 65 / 65
65 passing subtests
- Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject
- Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one
- abort() on a released writer rejects
- Aborting a WritableStream immediately prevents future writes
- Aborting a WritableStream prevents further writes after any that are in progress
- Fulfillment value of writer.abort() call must be undefined even if the underlying sink returns a non-undefined value
- WritableStream if sink's abort throws, the promise returned by writer.abort() rejects
- WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects
- WritableStream if sink's abort throws, the promise returned by ws.abort() rejects
- WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects
- Aborting a WritableStream passes through the given reason
- Aborting a WritableStream puts it in an errored state with the error passed to abort()
- Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied
- Closing but then immediately aborting a WritableStream causes the stream to error
- Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt
- Aborting a WritableStream after it is closed is a no-op
- WritableStream should NOT call underlying sink's close if no abort is supplied (historical)
- returning a thenable from abort() should work
- .closed should not resolve before fulfilled write()
- .closed should not resolve before rejected write(); write() error should not overwrite abort() error
- writes should be satisfied in order when aborting
- writes should be satisfied in order after rejected write when aborting
- close() should reject with abort reason why abort() is first error
- underlying abort() should not be called until underlying write() completes
- underlying abort() should not be called if underlying close() has started
- if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason
- an abort() that happens during a write() should trigger the underlying abort() even with a close() queued
- if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error
- writer close() promise should resolve before abort() promise
- writer.ready should reject on controller error without waiting for underlying write
- writer.abort() while there is an in-flight write, and then finish the write with rejection
- writer.abort(), controller.error() while there is an in-flight write, and then finish the write
- writer.abort(), controller.error() while there is an in-flight close, and then finish the close
- controller.error(), writer.abort() while there is an in-flight write, and then finish the write
- controller.error(), writer.abort() while there is an in-flight close, and then finish the close
- releaseLock() while aborting should reject the original closed promise
- releaseLock() during delayed async abort() should reject the writer.closed promise
- sink abort() should not be called until sink start() is done
- if start attempts to error the controller after abort() has been called, then it should lose
- stream abort() promise should still resolve if sink start() rejects
- writer abort() during sink start() should replace the writer.ready promise synchronously
- promises returned from other writer methods should be rejected when writer abort() happens during sink start()
- abort() should succeed despite rejection from write
- abort() should be rejected with the rejection returned from close()
- a rejecting sink.write() should not prevent sink.abort() from being called
- when start errors after stream abort(), underlying sink abort() should be called anyway
- when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined
- when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined
- calling abort() on an errored stream should fulfill with undefined
- sink abort() should not be called if stream was erroring due to controller.error() before abort() was called
- sink abort() should not be called if stream was erroring due to bad strategy before abort() was called
- abort with no arguments should set the stored error to undefined
- abort with an undefined argument should set the stored error to undefined
- abort with a string argument should set the stored error to that argument
- abort on a locked stream should reject
- WritableStreamDefaultController.signal
- the abort signal is signalled synchronously - write
- the abort signal is signalled synchronously - close
- the abort signal is not signalled on error
- the abort signal is not signalled on write failure
- the abort signal is not signalled on close failure
- recursive abort() call from abort() aborting signal (not started)
- recursive abort() call from abort() aborting signal
- recursive close() call from abort() aborting signal (not started)
- recursive close() call from abort() aborting signal
/streams/writable-streams/aborting.any.sharedworker.html OK 65 / 65
65 passing subtests
- Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject
- Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one
- abort() on a released writer rejects
- Aborting a WritableStream immediately prevents future writes
- Aborting a WritableStream prevents further writes after any that are in progress
- Fulfillment value of writer.abort() call must be undefined even if the underlying sink returns a non-undefined value
- WritableStream if sink's abort throws, the promise returned by writer.abort() rejects
- WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects
- WritableStream if sink's abort throws, the promise returned by ws.abort() rejects
- WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects
- Aborting a WritableStream passes through the given reason
- Aborting a WritableStream puts it in an errored state with the error passed to abort()
- Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied
- Closing but then immediately aborting a WritableStream causes the stream to error
- Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt
- Aborting a WritableStream after it is closed is a no-op
- WritableStream should NOT call underlying sink's close if no abort is supplied (historical)
- returning a thenable from abort() should work
- .closed should not resolve before fulfilled write()
- .closed should not resolve before rejected write(); write() error should not overwrite abort() error
- writes should be satisfied in order when aborting
- writes should be satisfied in order after rejected write when aborting
- close() should reject with abort reason why abort() is first error
- underlying abort() should not be called until underlying write() completes
- underlying abort() should not be called if underlying close() has started
- if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason
- an abort() that happens during a write() should trigger the underlying abort() even with a close() queued
- if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error
- writer close() promise should resolve before abort() promise
- writer.ready should reject on controller error without waiting for underlying write
- writer.abort() while there is an in-flight write, and then finish the write with rejection
- writer.abort(), controller.error() while there is an in-flight write, and then finish the write
- writer.abort(), controller.error() while there is an in-flight close, and then finish the close
- controller.error(), writer.abort() while there is an in-flight write, and then finish the write
- controller.error(), writer.abort() while there is an in-flight close, and then finish the close
- releaseLock() while aborting should reject the original closed promise
- releaseLock() during delayed async abort() should reject the writer.closed promise
- sink abort() should not be called until sink start() is done
- if start attempts to error the controller after abort() has been called, then it should lose
- stream abort() promise should still resolve if sink start() rejects
- writer abort() during sink start() should replace the writer.ready promise synchronously
- promises returned from other writer methods should be rejected when writer abort() happens during sink start()
- abort() should succeed despite rejection from write
- abort() should be rejected with the rejection returned from close()
- a rejecting sink.write() should not prevent sink.abort() from being called
- when start errors after stream abort(), underlying sink abort() should be called anyway
- when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined
- when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined
- calling abort() on an errored stream should fulfill with undefined
- sink abort() should not be called if stream was erroring due to controller.error() before abort() was called
- sink abort() should not be called if stream was erroring due to bad strategy before abort() was called
- abort with no arguments should set the stored error to undefined
- abort with an undefined argument should set the stored error to undefined
- abort with a string argument should set the stored error to that argument
- abort on a locked stream should reject
- WritableStreamDefaultController.signal
- the abort signal is signalled synchronously - write
- the abort signal is signalled synchronously - close
- the abort signal is not signalled on error
- the abort signal is not signalled on write failure
- the abort signal is not signalled on close failure
- recursive abort() call from abort() aborting signal (not started)
- recursive abort() call from abort() aborting signal
- recursive close() call from abort() aborting signal (not started)
- recursive close() call from abort() aborting signal
/streams/writable-streams/aborting.any.worker.html OK 65 / 65
65 passing subtests
- Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject
- Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one
- abort() on a released writer rejects
- Aborting a WritableStream immediately prevents future writes
- Aborting a WritableStream prevents further writes after any that are in progress
- Fulfillment value of writer.abort() call must be undefined even if the underlying sink returns a non-undefined value
- WritableStream if sink's abort throws, the promise returned by writer.abort() rejects
- WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects
- WritableStream if sink's abort throws, the promise returned by ws.abort() rejects
- WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects
- Aborting a WritableStream passes through the given reason
- Aborting a WritableStream puts it in an errored state with the error passed to abort()
- Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied
- Closing but then immediately aborting a WritableStream causes the stream to error
- Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt
- Aborting a WritableStream after it is closed is a no-op
- WritableStream should NOT call underlying sink's close if no abort is supplied (historical)
- returning a thenable from abort() should work
- .closed should not resolve before fulfilled write()
- .closed should not resolve before rejected write(); write() error should not overwrite abort() error
- writes should be satisfied in order when aborting
- writes should be satisfied in order after rejected write when aborting
- close() should reject with abort reason why abort() is first error
- underlying abort() should not be called until underlying write() completes
- underlying abort() should not be called if underlying close() has started
- if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason
- an abort() that happens during a write() should trigger the underlying abort() even with a close() queued
- if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error
- writer close() promise should resolve before abort() promise
- writer.ready should reject on controller error without waiting for underlying write
- writer.abort() while there is an in-flight write, and then finish the write with rejection
- writer.abort(), controller.error() while there is an in-flight write, and then finish the write
- writer.abort(), controller.error() while there is an in-flight close, and then finish the close
- controller.error(), writer.abort() while there is an in-flight write, and then finish the write
- controller.error(), writer.abort() while there is an in-flight close, and then finish the close
- releaseLock() while aborting should reject the original closed promise
- releaseLock() during delayed async abort() should reject the writer.closed promise
- sink abort() should not be called until sink start() is done
- if start attempts to error the controller after abort() has been called, then it should lose
- stream abort() promise should still resolve if sink start() rejects
- writer abort() during sink start() should replace the writer.ready promise synchronously
- promises returned from other writer methods should be rejected when writer abort() happens during sink start()
- abort() should succeed despite rejection from write
- abort() should be rejected with the rejection returned from close()
- a rejecting sink.write() should not prevent sink.abort() from being called
- when start errors after stream abort(), underlying sink abort() should be called anyway
- when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined
- when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined
- calling abort() on an errored stream should fulfill with undefined
- sink abort() should not be called if stream was erroring due to controller.error() before abort() was called
- sink abort() should not be called if stream was erroring due to bad strategy before abort() was called
- abort with no arguments should set the stored error to undefined
- abort with an undefined argument should set the stored error to undefined
- abort with a string argument should set the stored error to that argument
- abort on a locked stream should reject
- WritableStreamDefaultController.signal
- the abort signal is signalled synchronously - write
- the abort signal is signalled synchronously - close
- the abort signal is not signalled on error
- the abort signal is not signalled on write failure
- the abort signal is not signalled on close failure
- recursive abort() call from abort() aborting signal (not started)
- recursive abort() call from abort() aborting signal
- recursive close() call from abort() aborting signal (not started)
- recursive close() call from abort() aborting signal
bad-strategies.any.js 28 / 28 passingChrome 28 / 280 failedClean
/streams/writable-streams/bad-strategies.any.html OK 7 / 7
7 passing subtests
- Writable stream: throwing strategy.size getter
- reject any non-function value for strategy.size
- Writable stream: throwing strategy.highWaterMark getter
- Writable stream: invalid strategy.highWaterMark
- Writable stream: throwing strategy.size method
- Writable stream: invalid strategy.size return value
- Writable stream: invalid size beats invalid highWaterMark
/streams/writable-streams/bad-strategies.any.serviceworker.html OK 7 / 7
7 passing subtests
- Writable stream: throwing strategy.size getter
- reject any non-function value for strategy.size
- Writable stream: throwing strategy.highWaterMark getter
- Writable stream: invalid strategy.highWaterMark
- Writable stream: throwing strategy.size method
- Writable stream: invalid strategy.size return value
- Writable stream: invalid size beats invalid highWaterMark
/streams/writable-streams/bad-strategies.any.sharedworker.html OK 7 / 7
7 passing subtests
- Writable stream: throwing strategy.size getter
- reject any non-function value for strategy.size
- Writable stream: throwing strategy.highWaterMark getter
- Writable stream: invalid strategy.highWaterMark
- Writable stream: throwing strategy.size method
- Writable stream: invalid strategy.size return value
- Writable stream: invalid size beats invalid highWaterMark
/streams/writable-streams/bad-strategies.any.worker.html OK 7 / 7
7 passing subtests
- Writable stream: throwing strategy.size getter
- reject any non-function value for strategy.size
- Writable stream: throwing strategy.highWaterMark getter
- Writable stream: invalid strategy.highWaterMark
- Writable stream: throwing strategy.size method
- Writable stream: invalid strategy.size return value
- Writable stream: invalid size beats invalid highWaterMark
bad-underlying-sinks.any.js 56 / 56 passingChrome 56 / 560 failedClean
/streams/writable-streams/bad-underlying-sinks.any.html OK 14 / 14
14 passing subtests
- start: errors in start cause WritableStream constructor to throw
- close: throwing method should cause writer close() and ready to reject
- close: returning a rejected promise should cause writer close() and ready to reject
- close: throwing getter should cause constructor to throw
- write: throwing getter should cause write() and closed to reject
- write: throwing method should cause write() and closed to reject
- write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject
- write: returning a rejected promise (second write) should cause writer write() and ready to reject
- start: non-function start method
- write: non-function write method
- close: non-function close method
- abort: non-function abort method with .apply
- abort: throwing getter should cause abort() and closed to reject
- abort: throwing method should cause abort() and closed to reject
/streams/writable-streams/bad-underlying-sinks.any.serviceworker.html OK 14 / 14
14 passing subtests
- start: errors in start cause WritableStream constructor to throw
- close: throwing method should cause writer close() and ready to reject
- close: returning a rejected promise should cause writer close() and ready to reject
- close: throwing getter should cause constructor to throw
- write: throwing getter should cause write() and closed to reject
- write: throwing method should cause write() and closed to reject
- write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject
- write: returning a rejected promise (second write) should cause writer write() and ready to reject
- start: non-function start method
- write: non-function write method
- close: non-function close method
- abort: non-function abort method with .apply
- abort: throwing getter should cause abort() and closed to reject
- abort: throwing method should cause abort() and closed to reject
/streams/writable-streams/bad-underlying-sinks.any.sharedworker.html OK 14 / 14
14 passing subtests
- start: errors in start cause WritableStream constructor to throw
- close: throwing method should cause writer close() and ready to reject
- close: returning a rejected promise should cause writer close() and ready to reject
- close: throwing getter should cause constructor to throw
- write: throwing getter should cause write() and closed to reject
- write: throwing method should cause write() and closed to reject
- write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject
- write: returning a rejected promise (second write) should cause writer write() and ready to reject
- start: non-function start method
- write: non-function write method
- close: non-function close method
- abort: non-function abort method with .apply
- abort: throwing getter should cause abort() and closed to reject
- abort: throwing method should cause abort() and closed to reject
/streams/writable-streams/bad-underlying-sinks.any.worker.html OK 14 / 14
14 passing subtests
- start: errors in start cause WritableStream constructor to throw
- close: throwing method should cause writer close() and ready to reject
- close: returning a rejected promise should cause writer close() and ready to reject
- close: throwing getter should cause constructor to throw
- write: throwing getter should cause write() and closed to reject
- write: throwing method should cause write() and closed to reject
- write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject
- write: returning a rejected promise (second write) should cause writer write() and ready to reject
- start: non-function start method
- write: non-function write method
- close: non-function close method
- abort: non-function abort method with .apply
- abort: throwing getter should cause abort() and closed to reject
- abort: throwing method should cause abort() and closed to reject
byte-length-queuing-strategy.any.js 4 / 4 passingChrome 4 / 40 failedClean
/streams/writable-streams/byte-length-queuing-strategy.any.html OK 1 / 1
1 passing subtest
- Closing a writable stream with in-flight writes below the high water mark delays the close call properly
/streams/writable-streams/byte-length-queuing-strategy.any.serviceworker.html OK 1 / 1
1 passing subtest
- Closing a writable stream with in-flight writes below the high water mark delays the close call properly
/streams/writable-streams/byte-length-queuing-strategy.any.sharedworker.html OK 1 / 1
1 passing subtest
- Closing a writable stream with in-flight writes below the high water mark delays the close call properly
/streams/writable-streams/byte-length-queuing-strategy.any.worker.html OK 1 / 1
1 passing subtest
- Closing a writable stream with in-flight writes below the high water mark delays the close call properly
close.any.js 104 / 104 passingChrome 104 / 1040 failedClean
/streams/writable-streams/close.any.html OK 26 / 26
26 passing subtests
- fulfillment value of writer.close() call must be undefined even if the underlying sink returns a non-undefined value
- when sink calls error asynchronously while sink close is in-flight, the stream should not become errored
- when sink calls error synchronously while closing, the stream should not become errored
- when 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
- releaseLock on a stream with a pending write in which the stream has been errored
- releaseLock on a stream with a pending close in which controller.error() was called
- when close is called on a WritableStream in writable state, ready should return a fulfilled promise
- when close is called on a WritableStream in waiting state, ready promise should be fulfilled
- when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time
- returning a thenable from close() should work
- releaseLock() should not change the result of sync close()
- releaseLock() should not change the result of async close()
- close() should set state to CLOSED even if writer has detached
- the promise returned by async abort during close should resolve
- promises must fulfill/reject in the expected order on closure
- promises must fulfill/reject in the expected order on aborted closure
- promises must fulfill/reject in the expected order on aborted and errored closure
- close() should not reject until no sink methods are in flight
- ready promise should be initialised as fulfilled for a writer on a closed stream
- close() on a writable stream should work
- close() on a locked stream should reject
- close() on an erroring stream should reject
- close() on an errored stream should reject
- close() on an closed stream should reject
- close() on a stream with a pending close should reject
- write() on a closed stream should reject
/streams/writable-streams/close.any.serviceworker.html OK 26 / 26
26 passing subtests
- fulfillment value of writer.close() call must be undefined even if the underlying sink returns a non-undefined value
- when sink calls error asynchronously while sink close is in-flight, the stream should not become errored
- when sink calls error synchronously while closing, the stream should not become errored
- when 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
- releaseLock on a stream with a pending write in which the stream has been errored
- releaseLock on a stream with a pending close in which controller.error() was called
- when close is called on a WritableStream in writable state, ready should return a fulfilled promise
- when close is called on a WritableStream in waiting state, ready promise should be fulfilled
- when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time
- returning a thenable from close() should work
- releaseLock() should not change the result of sync close()
- releaseLock() should not change the result of async close()
- close() should set state to CLOSED even if writer has detached
- the promise returned by async abort during close should resolve
- promises must fulfill/reject in the expected order on closure
- promises must fulfill/reject in the expected order on aborted closure
- promises must fulfill/reject in the expected order on aborted and errored closure
- close() should not reject until no sink methods are in flight
- ready promise should be initialised as fulfilled for a writer on a closed stream
- close() on a writable stream should work
- close() on a locked stream should reject
- close() on an erroring stream should reject
- close() on an errored stream should reject
- close() on an closed stream should reject
- close() on a stream with a pending close should reject
- write() on a closed stream should reject
/streams/writable-streams/close.any.sharedworker.html OK 26 / 26
26 passing subtests
- fulfillment value of writer.close() call must be undefined even if the underlying sink returns a non-undefined value
- when sink calls error asynchronously while sink close is in-flight, the stream should not become errored
- when sink calls error synchronously while closing, the stream should not become errored
- when 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
- releaseLock on a stream with a pending write in which the stream has been errored
- releaseLock on a stream with a pending close in which controller.error() was called
- when close is called on a WritableStream in writable state, ready should return a fulfilled promise
- when close is called on a WritableStream in waiting state, ready promise should be fulfilled
- when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time
- returning a thenable from close() should work
- releaseLock() should not change the result of sync close()
- releaseLock() should not change the result of async close()
- close() should set state to CLOSED even if writer has detached
- the promise returned by async abort during close should resolve
- promises must fulfill/reject in the expected order on closure
- promises must fulfill/reject in the expected order on aborted closure
- promises must fulfill/reject in the expected order on aborted and errored closure
- close() should not reject until no sink methods are in flight
- ready promise should be initialised as fulfilled for a writer on a closed stream
- close() on a writable stream should work
- close() on a locked stream should reject
- close() on an erroring stream should reject
- close() on an errored stream should reject
- close() on an closed stream should reject
- close() on a stream with a pending close should reject
- write() on a closed stream should reject
/streams/writable-streams/close.any.worker.html OK 26 / 26
26 passing subtests
- fulfillment value of writer.close() call must be undefined even if the underlying sink returns a non-undefined value
- when sink calls error asynchronously while sink close is in-flight, the stream should not become errored
- when sink calls error synchronously while closing, the stream should not become errored
- when 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
- releaseLock on a stream with a pending write in which the stream has been errored
- releaseLock on a stream with a pending close in which controller.error() was called
- when close is called on a WritableStream in writable state, ready should return a fulfilled promise
- when close is called on a WritableStream in waiting state, ready promise should be fulfilled
- when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time
- returning a thenable from close() should work
- releaseLock() should not change the result of sync close()
- releaseLock() should not change the result of async close()
- close() should set state to CLOSED even if writer has detached
- the promise returned by async abort during close should resolve
- promises must fulfill/reject in the expected order on closure
- promises must fulfill/reject in the expected order on aborted closure
- promises must fulfill/reject in the expected order on aborted and errored closure
- close() should not reject until no sink methods are in flight
- ready promise should be initialised as fulfilled for a writer on a closed stream
- close() on a writable stream should work
- close() on a locked stream should reject
- close() on an erroring stream should reject
- close() on an errored stream should reject
- close() on an closed stream should reject
- close() on a stream with a pending close should reject
- write() on a closed stream should reject
constructor.any.js 52 / 52 passingChrome 52 / 520 failedClean
/streams/writable-streams/constructor.any.html OK 13 / 13
13 passing subtests
- controller argument should be passed to start method
- controller argument should be passed to write method
- controller argument should not be passed to close method
- highWaterMark should be reflected to desiredSize
- WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure
- WritableStream should be constructible with no arguments
- WritableStream can't be constructed with a defined type
- underlyingSink argument should be converted after queuingStrategy argument
- WritableStream instances should have standard methods and properties
- WritableStreamDefaultController constructor should throw
- WritableStreamDefaultController constructor should throw when passed an initialised WritableStream
- WritableStreamDefaultWriter should throw unless passed a WritableStream
- WritableStreamDefaultWriter constructor should throw when stream argument is locked
/streams/writable-streams/constructor.any.serviceworker.html OK 13 / 13
13 passing subtests
- controller argument should be passed to start method
- controller argument should be passed to write method
- controller argument should not be passed to close method
- highWaterMark should be reflected to desiredSize
- WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure
- WritableStream should be constructible with no arguments
- WritableStream can't be constructed with a defined type
- underlyingSink argument should be converted after queuingStrategy argument
- WritableStream instances should have standard methods and properties
- WritableStreamDefaultController constructor should throw
- WritableStreamDefaultController constructor should throw when passed an initialised WritableStream
- WritableStreamDefaultWriter should throw unless passed a WritableStream
- WritableStreamDefaultWriter constructor should throw when stream argument is locked
/streams/writable-streams/constructor.any.sharedworker.html OK 13 / 13
13 passing subtests
- controller argument should be passed to start method
- controller argument should be passed to write method
- controller argument should not be passed to close method
- highWaterMark should be reflected to desiredSize
- WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure
- WritableStream should be constructible with no arguments
- WritableStream can't be constructed with a defined type
- underlyingSink argument should be converted after queuingStrategy argument
- WritableStream instances should have standard methods and properties
- WritableStreamDefaultController constructor should throw
- WritableStreamDefaultController constructor should throw when passed an initialised WritableStream
- WritableStreamDefaultWriter should throw unless passed a WritableStream
- WritableStreamDefaultWriter constructor should throw when stream argument is locked
/streams/writable-streams/constructor.any.worker.html OK 13 / 13
13 passing subtests
- controller argument should be passed to start method
- controller argument should be passed to write method
- controller argument should not be passed to close method
- highWaterMark should be reflected to desiredSize
- WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure
- WritableStream should be constructible with no arguments
- WritableStream can't be constructed with a defined type
- underlyingSink argument should be converted after queuingStrategy argument
- WritableStream instances should have standard methods and properties
- WritableStreamDefaultController constructor should throw
- WritableStreamDefaultController constructor should throw when passed an initialised WritableStream
- WritableStreamDefaultWriter should throw unless passed a WritableStream
- WritableStreamDefaultWriter constructor should throw when stream argument is locked
count-queuing-strategy.any.js 12 / 12 passingChrome 12 / 120 failedClean
/streams/writable-streams/count-queuing-strategy.any.html OK 3 / 3
3 passing subtests
- Can construct a writable stream with a valid CountQueuingStrategy
- Correctly governs the value of a WritableStream's state property (HWM = 0)
- Correctly governs the value of a WritableStream's state property (HWM = 4)
/streams/writable-streams/count-queuing-strategy.any.serviceworker.html OK 3 / 3
3 passing subtests
- Can construct a writable stream with a valid CountQueuingStrategy
- Correctly governs the value of a WritableStream's state property (HWM = 0)
- Correctly governs the value of a WritableStream's state property (HWM = 4)
/streams/writable-streams/count-queuing-strategy.any.sharedworker.html OK 3 / 3
3 passing subtests
- Can construct a writable stream with a valid CountQueuingStrategy
- Correctly governs the value of a WritableStream's state property (HWM = 0)
- Correctly governs the value of a WritableStream's state property (HWM = 4)
/streams/writable-streams/count-queuing-strategy.any.worker.html OK 3 / 3
3 passing subtests
- Can construct a writable stream with a valid CountQueuingStrategy
- Correctly governs the value of a WritableStream's state property (HWM = 0)
- Correctly governs the value of a WritableStream's state property (HWM = 4)
error.any.js 20 / 20 passingChrome 20 / 200 failedClean
/streams/writable-streams/error.any.html OK 5 / 5
5 passing subtests
- controller.error() should error the stream
- controller.error() on erroring stream should not throw
- surplus calls to controller.error() should be a no-op
- controller.error() on errored stream should not throw
- controller.error() on closed stream should not throw
/streams/writable-streams/error.any.serviceworker.html OK 5 / 5
5 passing subtests
- controller.error() should error the stream
- controller.error() on erroring stream should not throw
- surplus calls to controller.error() should be a no-op
- controller.error() on errored stream should not throw
- controller.error() on closed stream should not throw
/streams/writable-streams/error.any.sharedworker.html OK 5 / 5
5 passing subtests
- controller.error() should error the stream
- controller.error() on erroring stream should not throw
- surplus calls to controller.error() should be a no-op
- controller.error() on errored stream should not throw
- controller.error() on closed stream should not throw
/streams/writable-streams/error.any.worker.html OK 5 / 5
5 passing subtests
- controller.error() should error the stream
- controller.error() on erroring stream should not throw
- surplus calls to controller.error() should be a no-op
- controller.error() on errored stream should not throw
- controller.error() on closed stream should not throw
floating-point-total-queue-size.any.js 16 / 16 passingChrome 16 / 160 failedClean
/streams/writable-streams/floating-point-total-queue-size.any.html OK 4 / 4
4 passing subtests
- Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)
- Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)
- Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)
- Floating point arithmetic must manifest near 0 (total ends up zero)
/streams/writable-streams/floating-point-total-queue-size.any.serviceworker.html OK 4 / 4
4 passing subtests
- Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)
- Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)
- Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)
- Floating point arithmetic must manifest near 0 (total ends up zero)
/streams/writable-streams/floating-point-total-queue-size.any.sharedworker.html OK 4 / 4
4 passing subtests
- Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)
- Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)
- Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)
- Floating point arithmetic must manifest near 0 (total ends up zero)
/streams/writable-streams/floating-point-total-queue-size.any.worker.html OK 4 / 4
4 passing subtests
- Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)
- Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)
- Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)
- Floating point arithmetic must manifest near 0 (total ends up zero)
garbage-collection.any.js 4 / 4 passingChrome 4 / 40 failedClean
/streams/writable-streams/garbage-collection.any.html OK 1 / 1
1 passing subtest
- A WritableStream and its writer should not be garbage collected while there is a write promise pending
/streams/writable-streams/garbage-collection.any.serviceworker.html OK 1 / 1
1 passing subtest
- A WritableStream and its writer should not be garbage collected while there is a write promise pending
/streams/writable-streams/garbage-collection.any.sharedworker.html OK 1 / 1
1 passing subtest
- A WritableStream and its writer should not be garbage collected while there is a write promise pending
/streams/writable-streams/garbage-collection.any.worker.html OK 1 / 1
1 passing subtest
- A WritableStream and its writer should not be garbage collected while there is a write promise pending
general.any.js 64 / 64 passingChrome 64 / 640 failedClean
/streams/writable-streams/general.any.html OK 16 / 16
16 passing subtests
- desiredSize on a released writer
- desiredSize initial value
- desiredSize on a writer for a closed stream
- desiredSize on a writer for an errored stream
- ws.getWriter() on a closing WritableStream
- ws.getWriter() on a closed WritableStream
- ws.getWriter() on an aborted WritableStream
- ws.getWriter() on an errored WritableStream
- closed and ready on a released writer
- WritableStream should call underlying sink methods as methods
- methods should not not have .apply() or .call() called
- WritableStream's strategy.size should not be called as a method
- redundant releaseLock() is no-op
- ready promise should fire before closed on releaseLock
- Subclassing WritableStream should work
- the locked getter should return true if the stream has a writer
/streams/writable-streams/general.any.serviceworker.html OK 16 / 16
16 passing subtests
- desiredSize on a released writer
- desiredSize initial value
- desiredSize on a writer for a closed stream
- desiredSize on a writer for an errored stream
- ws.getWriter() on a closing WritableStream
- ws.getWriter() on a closed WritableStream
- ws.getWriter() on an aborted WritableStream
- ws.getWriter() on an errored WritableStream
- closed and ready on a released writer
- WritableStream should call underlying sink methods as methods
- methods should not not have .apply() or .call() called
- WritableStream's strategy.size should not be called as a method
- redundant releaseLock() is no-op
- ready promise should fire before closed on releaseLock
- Subclassing WritableStream should work
- the locked getter should return true if the stream has a writer
/streams/writable-streams/general.any.sharedworker.html OK 16 / 16
16 passing subtests
- desiredSize on a released writer
- desiredSize initial value
- desiredSize on a writer for a closed stream
- desiredSize on a writer for an errored stream
- ws.getWriter() on a closing WritableStream
- ws.getWriter() on a closed WritableStream
- ws.getWriter() on an aborted WritableStream
- ws.getWriter() on an errored WritableStream
- closed and ready on a released writer
- WritableStream should call underlying sink methods as methods
- methods should not not have .apply() or .call() called
- WritableStream's strategy.size should not be called as a method
- redundant releaseLock() is no-op
- ready promise should fire before closed on releaseLock
- Subclassing WritableStream should work
- the locked getter should return true if the stream has a writer
/streams/writable-streams/general.any.worker.html OK 16 / 16
16 passing subtests
- desiredSize on a released writer
- desiredSize initial value
- desiredSize on a writer for a closed stream
- desiredSize on a writer for an errored stream
- ws.getWriter() on a closing WritableStream
- ws.getWriter() on a closed WritableStream
- ws.getWriter() on an aborted WritableStream
- ws.getWriter() on an errored WritableStream
- closed and ready on a released writer
- WritableStream should call underlying sink methods as methods
- methods should not not have .apply() or .call() called
- WritableStream's strategy.size should not be called as a method
- redundant releaseLock() is no-op
- ready promise should fire before closed on releaseLock
- Subclassing WritableStream should work
- the locked getter should return true if the stream has a writer
properties.any.js 32 / 32 passingChrome 32 / 320 failedClean
/streams/writable-streams/properties.any.html OK 8 / 8
8 passing subtests
- sink method start should be called with the right number of arguments
- sink method start should be called even when it's located on the prototype chain
- sink method write should be called with the right number of arguments
- sink method write should be called even when it's located on the prototype chain
- sink method close should be called with the right number of arguments
- sink method close should be called even when it's located on the prototype chain
- sink method abort should be called with the right number of arguments
- sink method abort should be called even when it's located on the prototype chain
/streams/writable-streams/properties.any.serviceworker.html OK 8 / 8
8 passing subtests
- sink method start should be called with the right number of arguments
- sink method start should be called even when it's located on the prototype chain
- sink method write should be called with the right number of arguments
- sink method write should be called even when it's located on the prototype chain
- sink method close should be called with the right number of arguments
- sink method close should be called even when it's located on the prototype chain
- sink method abort should be called with the right number of arguments
- sink method abort should be called even when it's located on the prototype chain
/streams/writable-streams/properties.any.sharedworker.html OK 8 / 8
8 passing subtests
- sink method start should be called with the right number of arguments
- sink method start should be called even when it's located on the prototype chain
- sink method write should be called with the right number of arguments
- sink method write should be called even when it's located on the prototype chain
- sink method close should be called with the right number of arguments
- sink method close should be called even when it's located on the prototype chain
- sink method abort should be called with the right number of arguments
- sink method abort should be called even when it's located on the prototype chain
/streams/writable-streams/properties.any.worker.html OK 8 / 8
8 passing subtests
- sink method start should be called with the right number of arguments
- sink method start should be called even when it's located on the prototype chain
- sink method write should be called with the right number of arguments
- sink method write should be called even when it's located on the prototype chain
- sink method close should be called with the right number of arguments
- sink method close should be called even when it's located on the prototype chain
- sink method abort should be called with the right number of arguments
- sink method abort should be called even when it's located on the prototype chain
reentrant-strategy.any.js 28 / 28 passingChrome 28 / 280 failedClean
/streams/writable-streams/reentrant-strategy.any.html OK 7 / 7
7 passing subtests
- writes should be written in the standard order
- writer.write() promises should resolve in the standard order
- controller.error() should work when called from within strategy.size()
- close() should work when called from within strategy.size()
- abort() should work when called from within strategy.size()
- releaseLock() should abort the write() when called within strategy.size()
- original reader should error when new reader is created within strategy.size()
/streams/writable-streams/reentrant-strategy.any.serviceworker.html OK 7 / 7
7 passing subtests
- writes should be written in the standard order
- writer.write() promises should resolve in the standard order
- controller.error() should work when called from within strategy.size()
- close() should work when called from within strategy.size()
- abort() should work when called from within strategy.size()
- releaseLock() should abort the write() when called within strategy.size()
- original reader should error when new reader is created within strategy.size()
/streams/writable-streams/reentrant-strategy.any.sharedworker.html OK 7 / 7
7 passing subtests
- writes should be written in the standard order
- writer.write() promises should resolve in the standard order
- controller.error() should work when called from within strategy.size()
- close() should work when called from within strategy.size()
- abort() should work when called from within strategy.size()
- releaseLock() should abort the write() when called within strategy.size()
- original reader should error when new reader is created within strategy.size()
/streams/writable-streams/reentrant-strategy.any.worker.html OK 7 / 7
7 passing subtests
- writes should be written in the standard order
- writer.write() promises should resolve in the standard order
- controller.error() should work when called from within strategy.size()
- close() should work when called from within strategy.size()
- abort() should work when called from within strategy.size()
- releaseLock() should abort the write() when called within strategy.size()
- original reader should error when new reader is created within strategy.size()
start.any.js 32 / 32 passingChrome 32 / 320 failedClean
/streams/writable-streams/start.any.html OK 8 / 8
8 passing subtests
- underlying sink's write should not be called until start finishes
- underlying sink's close should not be called until start finishes
- underlying sink's write or close should not be called if start throws
- underlying sink's write or close should not be invoked if the promise returned by start is rejected
- returning a thenable from start() should work
- controller.error() during start should cause writes to fail
- controller.error() during async start should cause existing writes to fail
- when start() rejects, writer promises should reject in standard order
/streams/writable-streams/start.any.serviceworker.html OK 8 / 8
8 passing subtests
- underlying sink's write should not be called until start finishes
- underlying sink's close should not be called until start finishes
- underlying sink's write or close should not be called if start throws
- underlying sink's write or close should not be invoked if the promise returned by start is rejected
- returning a thenable from start() should work
- controller.error() during start should cause writes to fail
- controller.error() during async start should cause existing writes to fail
- when start() rejects, writer promises should reject in standard order
/streams/writable-streams/start.any.sharedworker.html OK 8 / 8
8 passing subtests
- underlying sink's write should not be called until start finishes
- underlying sink's close should not be called until start finishes
- underlying sink's write or close should not be called if start throws
- underlying sink's write or close should not be invoked if the promise returned by start is rejected
- returning a thenable from start() should work
- controller.error() during start should cause writes to fail
- controller.error() during async start should cause existing writes to fail
- when start() rejects, writer promises should reject in standard order
/streams/writable-streams/start.any.worker.html OK 8 / 8
8 passing subtests
- underlying sink's write should not be called until start finishes
- underlying sink's close should not be called until start finishes
- underlying sink's write or close should not be called if start throws
- underlying sink's write or close should not be invoked if the promise returned by start is rejected
- returning a thenable from start() should work
- controller.error() during start should cause writes to fail
- controller.error() during async start should cause existing writes to fail
- when start() rejects, writer promises should reject in standard order
write.any.js 52 / 52 passingChrome 52 / 520 failedClean
/streams/writable-streams/write.any.html OK 13 / 13
13 passing subtests
- WritableStream should complete asynchronous writes before close resolves
- WritableStream should complete synchronous writes before close resolves
- fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value
- WritableStream should transition to waiting until write is acknowledged
- when write returns a rejected promise, queued writes and close should be cleared
- when sink's write throws an error, the stream should become errored and the promise should reject
- writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection
- a large queue of writes should be processed completely
- WritableStreamDefaultWriter should work when manually constructed
- returning a thenable from write() should work
- failing DefaultWriter constructor should not release an existing writer
- write() on a stream with HWM 0 should not cause the ready Promise to resolve
- writing to a released writer should reject the returned promise
/streams/writable-streams/write.any.serviceworker.html OK 13 / 13
13 passing subtests
- WritableStream should complete asynchronous writes before close resolves
- WritableStream should complete synchronous writes before close resolves
- fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value
- WritableStream should transition to waiting until write is acknowledged
- when write returns a rejected promise, queued writes and close should be cleared
- when sink's write throws an error, the stream should become errored and the promise should reject
- writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection
- a large queue of writes should be processed completely
- WritableStreamDefaultWriter should work when manually constructed
- returning a thenable from write() should work
- failing DefaultWriter constructor should not release an existing writer
- write() on a stream with HWM 0 should not cause the ready Promise to resolve
- writing to a released writer should reject the returned promise
/streams/writable-streams/write.any.sharedworker.html OK 13 / 13
13 passing subtests
- WritableStream should complete asynchronous writes before close resolves
- WritableStream should complete synchronous writes before close resolves
- fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value
- WritableStream should transition to waiting until write is acknowledged
- when write returns a rejected promise, queued writes and close should be cleared
- when sink's write throws an error, the stream should become errored and the promise should reject
- writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection
- a large queue of writes should be processed completely
- WritableStreamDefaultWriter should work when manually constructed
- returning a thenable from write() should work
- failing DefaultWriter constructor should not release an existing writer
- write() on a stream with HWM 0 should not cause the ready Promise to resolve
- writing to a released writer should reject the returned promise
/streams/writable-streams/write.any.worker.html OK 13 / 13
13 passing subtests
- WritableStream should complete asynchronous writes before close resolves
- WritableStream should complete synchronous writes before close resolves
- fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value
- WritableStream should transition to waiting until write is acknowledged
- when write returns a rejected promise, queued writes and close should be cleared
- when sink's write throws an error, the stream should become errored and the promise should reject
- writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection
- a large queue of writes should be processed completely
- WritableStreamDefaultWriter should work when manually constructed
- returning a thenable from write() should work
- failing DefaultWriter constructor should not release an existing writer
- write() on a stream with HWM 0 should not cause the ready Promise to resolve
- writing to a released writer should reject the returned promise