52.3streams/readable-streams/
1,397 / 1,403 WPT subtests passing
- Failed
- 6
- Timed out
- 0
- Not run
- 0
- Test files
- 23
- Blocking files
- 0
Chrome 1,250 / 1,403 WPT subtests passing on the same files, none blocking, 4 without a result
Tests
1 directory, 19 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
crashtests/ | 12 / 12 | 12 / 12 | 4 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
async-iterator.any.js 160 / 164 passingChrome 160 / 1644 failedWith failures
/streams/readable-streams/async-iterator.any.html OK 40 / 41
- ¶
FAILAsync iterator instances should have the correct list of properties
assert_equals: method should have the correct name expected "next" but got ""
40 passing subtests
- Async-iterating a push source
- Async-iterating a pull source
- Async-iterating a push source with undefined values
- Async-iterating a pull source with undefined values
- Async-iterating a pull source manually
- Async-iterating an errored stream throws
- Async-iterating a closed stream never executes the loop body, but works fine
- Async-iterating an empty but not closed/errored stream never executes the loop body and stalls the async function
- Async-iterating a partially consumed stream
- Cancellation behavior when throwing inside loop body; preventCancel = false
- Cancellation behavior when throwing inside loop body; preventCancel = true
- Cancellation behavior when breaking inside loop body; preventCancel = false
- Cancellation behavior when breaking inside loop body; preventCancel = true
- Cancellation behavior when returning inside loop body; preventCancel = false
- Cancellation behavior when returning inside loop body; preventCancel = true
- Cancellation behavior when manually calling return(); preventCancel = false
- Cancellation behavior when manually calling return(); preventCancel = true
- next() rejects if the stream errors
- return() does not rejects if the stream has not errored yet
- return() rejects if the stream has errored
- next() that succeeds; next() that reports an error; next()
- next() that succeeds; next() that reports an error(); next() [no awaiting]
- next() that succeeds; next() that reports an error(); return()
- next() that succeeds; next() that reports an error(); return() [no awaiting]
- next() that succeeds; return()
- next() that succeeds; return() [no awaiting]
- return(); next()
- return(); next() [no awaiting]
- return(); next() with delayed cancel()
- return(); next() with delayed cancel() [no awaiting]
- return(); return()
- return(); return() [no awaiting]
- values() throws if there's already a lock
- Acquiring a reader after exhaustively async-iterating a stream
- Acquiring a reader after return()ing from a stream that errors
- Acquiring a reader after partially async-iterating a stream
- Acquiring a reader and reading the remaining chunks after partially async-iterating a stream with preventCancel = true
- return() should unlock the stream synchronously when preventCancel = false
- return() should unlock the stream synchronously when preventCancel = true
- close() while next() is pending
/streams/readable-streams/async-iterator.any.serviceworker.html OK 40 / 41
- ¶
FAILAsync iterator instances should have the correct list of properties
assert_equals: method should have the correct name expected "next" but got ""
40 passing subtests
- Async-iterating a push source
- Async-iterating a pull source
- Async-iterating a push source with undefined values
- Async-iterating a pull source with undefined values
- Async-iterating a pull source manually
- Async-iterating an errored stream throws
- Async-iterating a closed stream never executes the loop body, but works fine
- Async-iterating an empty but not closed/errored stream never executes the loop body and stalls the async function
- Async-iterating a partially consumed stream
- Cancellation behavior when throwing inside loop body; preventCancel = false
- Cancellation behavior when throwing inside loop body; preventCancel = true
- Cancellation behavior when breaking inside loop body; preventCancel = false
- Cancellation behavior when breaking inside loop body; preventCancel = true
- Cancellation behavior when returning inside loop body; preventCancel = false
- Cancellation behavior when returning inside loop body; preventCancel = true
- Cancellation behavior when manually calling return(); preventCancel = false
- Cancellation behavior when manually calling return(); preventCancel = true
- next() rejects if the stream errors
- return() does not rejects if the stream has not errored yet
- return() rejects if the stream has errored
- next() that succeeds; next() that reports an error; next()
- next() that succeeds; next() that reports an error(); next() [no awaiting]
- next() that succeeds; next() that reports an error(); return()
- next() that succeeds; next() that reports an error(); return() [no awaiting]
- next() that succeeds; return()
- next() that succeeds; return() [no awaiting]
- return(); next()
- return(); next() [no awaiting]
- return(); next() with delayed cancel()
- return(); next() with delayed cancel() [no awaiting]
- return(); return()
- return(); return() [no awaiting]
- values() throws if there's already a lock
- Acquiring a reader after exhaustively async-iterating a stream
- Acquiring a reader after return()ing from a stream that errors
- Acquiring a reader after partially async-iterating a stream
- Acquiring a reader and reading the remaining chunks after partially async-iterating a stream with preventCancel = true
- return() should unlock the stream synchronously when preventCancel = false
- return() should unlock the stream synchronously when preventCancel = true
- close() while next() is pending
/streams/readable-streams/async-iterator.any.sharedworker.html OK 40 / 41
- ¶
FAILAsync iterator instances should have the correct list of properties
assert_equals: method should have the correct name expected "next" but got ""
40 passing subtests
- Async-iterating a push source
- Async-iterating a pull source
- Async-iterating a push source with undefined values
- Async-iterating a pull source with undefined values
- Async-iterating a pull source manually
- Async-iterating an errored stream throws
- Async-iterating a closed stream never executes the loop body, but works fine
- Async-iterating an empty but not closed/errored stream never executes the loop body and stalls the async function
- Async-iterating a partially consumed stream
- Cancellation behavior when throwing inside loop body; preventCancel = false
- Cancellation behavior when throwing inside loop body; preventCancel = true
- Cancellation behavior when breaking inside loop body; preventCancel = false
- Cancellation behavior when breaking inside loop body; preventCancel = true
- Cancellation behavior when returning inside loop body; preventCancel = false
- Cancellation behavior when returning inside loop body; preventCancel = true
- Cancellation behavior when manually calling return(); preventCancel = false
- Cancellation behavior when manually calling return(); preventCancel = true
- next() rejects if the stream errors
- return() does not rejects if the stream has not errored yet
- return() rejects if the stream has errored
- next() that succeeds; next() that reports an error; next()
- next() that succeeds; next() that reports an error(); next() [no awaiting]
- next() that succeeds; next() that reports an error(); return()
- next() that succeeds; next() that reports an error(); return() [no awaiting]
- next() that succeeds; return()
- next() that succeeds; return() [no awaiting]
- return(); next()
- return(); next() [no awaiting]
- return(); next() with delayed cancel()
- return(); next() with delayed cancel() [no awaiting]
- return(); return()
- return(); return() [no awaiting]
- values() throws if there's already a lock
- Acquiring a reader after exhaustively async-iterating a stream
- Acquiring a reader after return()ing from a stream that errors
- Acquiring a reader after partially async-iterating a stream
- Acquiring a reader and reading the remaining chunks after partially async-iterating a stream with preventCancel = true
- return() should unlock the stream synchronously when preventCancel = false
- return() should unlock the stream synchronously when preventCancel = true
- close() while next() is pending
/streams/readable-streams/async-iterator.any.worker.html OK 40 / 41
- ¶
FAILAsync iterator instances should have the correct list of properties
assert_equals: method should have the correct name expected "next" but got ""
40 passing subtests
- Async-iterating a push source
- Async-iterating a pull source
- Async-iterating a push source with undefined values
- Async-iterating a pull source with undefined values
- Async-iterating a pull source manually
- Async-iterating an errored stream throws
- Async-iterating a closed stream never executes the loop body, but works fine
- Async-iterating an empty but not closed/errored stream never executes the loop body and stalls the async function
- Async-iterating a partially consumed stream
- Cancellation behavior when throwing inside loop body; preventCancel = false
- Cancellation behavior when throwing inside loop body; preventCancel = true
- Cancellation behavior when breaking inside loop body; preventCancel = false
- Cancellation behavior when breaking inside loop body; preventCancel = true
- Cancellation behavior when returning inside loop body; preventCancel = false
- Cancellation behavior when returning inside loop body; preventCancel = true
- Cancellation behavior when manually calling return(); preventCancel = false
- Cancellation behavior when manually calling return(); preventCancel = true
- next() rejects if the stream errors
- return() does not rejects if the stream has not errored yet
- return() rejects if the stream has errored
- next() that succeeds; next() that reports an error; next()
- next() that succeeds; next() that reports an error(); next() [no awaiting]
- next() that succeeds; next() that reports an error(); return()
- next() that succeeds; next() that reports an error(); return() [no awaiting]
- next() that succeeds; return()
- next() that succeeds; return() [no awaiting]
- return(); next()
- return(); next() [no awaiting]
- return(); next() with delayed cancel()
- return(); next() with delayed cancel() [no awaiting]
- return(); return()
- return(); return() [no awaiting]
- values() throws if there's already a lock
- Acquiring a reader after exhaustively async-iterating a stream
- Acquiring a reader after return()ing from a stream that errors
- Acquiring a reader after partially async-iterating a stream
- Acquiring a reader and reading the remaining chunks after partially async-iterating a stream with preventCancel = true
- return() should unlock the stream synchronously when preventCancel = false
- return() should unlock the stream synchronously when preventCancel = true
- close() while next() is pending
bad-strategies.any.js 32 / 32 passingChrome 32 / 320 failedClean
/streams/readable-streams/bad-strategies.any.html OK 8 / 8
8 passing subtests
- Readable stream: throwing strategy.size getter
- Readable stream: strategy.size errors the stream and then throws
- Readable stream: strategy.size errors the stream and then returns Infinity
- Readable stream: throwing strategy.size method
- Readable stream: throwing strategy.highWaterMark getter
- Readable stream: invalid strategy.highWaterMark
- Readable stream: invalid strategy.size return value
- Readable stream: invalid strategy.size return value when pulling
/streams/readable-streams/bad-strategies.any.serviceworker.html OK 8 / 8
8 passing subtests
- Readable stream: throwing strategy.size getter
- Readable stream: strategy.size errors the stream and then throws
- Readable stream: strategy.size errors the stream and then returns Infinity
- Readable stream: throwing strategy.size method
- Readable stream: throwing strategy.highWaterMark getter
- Readable stream: invalid strategy.highWaterMark
- Readable stream: invalid strategy.size return value
- Readable stream: invalid strategy.size return value when pulling
/streams/readable-streams/bad-strategies.any.sharedworker.html OK 8 / 8
8 passing subtests
- Readable stream: throwing strategy.size getter
- Readable stream: strategy.size errors the stream and then throws
- Readable stream: strategy.size errors the stream and then returns Infinity
- Readable stream: throwing strategy.size method
- Readable stream: throwing strategy.highWaterMark getter
- Readable stream: invalid strategy.highWaterMark
- Readable stream: invalid strategy.size return value
- Readable stream: invalid strategy.size return value when pulling
/streams/readable-streams/bad-strategies.any.worker.html OK 8 / 8
8 passing subtests
- Readable stream: throwing strategy.size getter
- Readable stream: strategy.size errors the stream and then throws
- Readable stream: strategy.size errors the stream and then returns Infinity
- Readable stream: throwing strategy.size method
- Readable stream: throwing strategy.highWaterMark getter
- Readable stream: invalid strategy.highWaterMark
- Readable stream: invalid strategy.size return value
- Readable stream: invalid strategy.size return value when pulling
bad-underlying-sources.any.js 88 / 88 passingChrome 88 / 880 failedClean
/streams/readable-streams/bad-underlying-sources.any.html OK 22 / 22
22 passing subtests
- Underlying source start: throwing getter
- Underlying source start: throwing method
- Underlying source: throwing pull getter (initial pull)
- Underlying source: throwing pull method (initial pull)
- Underlying source pull: throwing getter (second pull does not result in a second get)
- Underlying source pull: throwing method (second pull)
- Underlying source cancel: throwing getter
- Underlying source cancel: throwing method
- Underlying source: calling enqueue on an empty canceled stream should throw
- Underlying source: calling enqueue on a non-empty canceled stream should throw
- Underlying source: calling enqueue on a closed stream should throw
- Underlying source: calling enqueue on an errored stream should throw
- Underlying source: calling close twice on an empty stream should throw the second time
- Underlying source: calling close twice on a non-empty stream should throw the second time
- Underlying source: calling close on an empty canceled stream should throw
- Underlying source: calling close on a non-empty canceled stream should throw
- Underlying source: calling close after error should throw
- Underlying source: calling error twice should not throw
- Underlying source: calling error after close should not throw
- Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
- Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
- read should not error if it dequeues and pull() throws
/streams/readable-streams/bad-underlying-sources.any.serviceworker.html OK 22 / 22
22 passing subtests
- Underlying source start: throwing getter
- Underlying source start: throwing method
- Underlying source: throwing pull getter (initial pull)
- Underlying source: throwing pull method (initial pull)
- Underlying source pull: throwing getter (second pull does not result in a second get)
- Underlying source pull: throwing method (second pull)
- Underlying source cancel: throwing getter
- Underlying source cancel: throwing method
- Underlying source: calling enqueue on an empty canceled stream should throw
- Underlying source: calling enqueue on a non-empty canceled stream should throw
- Underlying source: calling enqueue on a closed stream should throw
- Underlying source: calling enqueue on an errored stream should throw
- Underlying source: calling close twice on an empty stream should throw the second time
- Underlying source: calling close twice on a non-empty stream should throw the second time
- Underlying source: calling close on an empty canceled stream should throw
- Underlying source: calling close on a non-empty canceled stream should throw
- Underlying source: calling close after error should throw
- Underlying source: calling error twice should not throw
- Underlying source: calling error after close should not throw
- Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
- Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
- read should not error if it dequeues and pull() throws
/streams/readable-streams/bad-underlying-sources.any.sharedworker.html OK 22 / 22
22 passing subtests
- Underlying source start: throwing getter
- Underlying source start: throwing method
- Underlying source: throwing pull getter (initial pull)
- Underlying source: throwing pull method (initial pull)
- Underlying source pull: throwing getter (second pull does not result in a second get)
- Underlying source pull: throwing method (second pull)
- Underlying source cancel: throwing getter
- Underlying source cancel: throwing method
- Underlying source: calling enqueue on an empty canceled stream should throw
- Underlying source: calling enqueue on a non-empty canceled stream should throw
- Underlying source: calling enqueue on a closed stream should throw
- Underlying source: calling enqueue on an errored stream should throw
- Underlying source: calling close twice on an empty stream should throw the second time
- Underlying source: calling close twice on a non-empty stream should throw the second time
- Underlying source: calling close on an empty canceled stream should throw
- Underlying source: calling close on a non-empty canceled stream should throw
- Underlying source: calling close after error should throw
- Underlying source: calling error twice should not throw
- Underlying source: calling error after close should not throw
- Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
- Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
- read should not error if it dequeues and pull() throws
/streams/readable-streams/bad-underlying-sources.any.worker.html OK 22 / 22
22 passing subtests
- Underlying source start: throwing getter
- Underlying source start: throwing method
- Underlying source: throwing pull getter (initial pull)
- Underlying source: throwing pull method (initial pull)
- Underlying source pull: throwing getter (second pull does not result in a second get)
- Underlying source pull: throwing method (second pull)
- Underlying source cancel: throwing getter
- Underlying source cancel: throwing method
- Underlying source: calling enqueue on an empty canceled stream should throw
- Underlying source: calling enqueue on a non-empty canceled stream should throw
- Underlying source: calling enqueue on a closed stream should throw
- Underlying source: calling enqueue on an errored stream should throw
- Underlying source: calling close twice on an empty stream should throw the second time
- Underlying source: calling close twice on a non-empty stream should throw the second time
- Underlying source: calling close on an empty canceled stream should throw
- Underlying source: calling close on a non-empty canceled stream should throw
- Underlying source: calling close after error should throw
- Underlying source: calling error twice should not throw
- Underlying source: calling error after close should not throw
- Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
- Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
- read should not error if it dequeues and pull() throws
cancel.any.js 44 / 44 passingChrome 44 / 440 failedClean
/streams/readable-streams/cancel.any.html OK 11 / 11
11 passing subtests
- ReadableStream cancellation: integration test on an infinite stream derived from a random push source
- ReadableStream cancellation: cancel(reason) should pass through the given reason to the underlying source
- ReadableStream cancellation: cancel() on a locked stream should fail and not call the underlying source cancel
- ReadableStream cancellation: should fulfill promise when cancel callback went fine
- ReadableStream cancellation: returning a value from the underlying source's cancel should not affect the fulfillment value of the promise returned by the stream's cancel
- ReadableStream cancellation: should reject promise when cancel callback raises an exception
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (1)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (2)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should reject when that one does
- ReadableStream cancellation: cancelling before start finishes should prevent pull() from being called
- ReadableStream cancellation: underlyingSource.cancel() should called, even with pending pull
/streams/readable-streams/cancel.any.serviceworker.html OK 11 / 11
11 passing subtests
- ReadableStream cancellation: integration test on an infinite stream derived from a random push source
- ReadableStream cancellation: cancel(reason) should pass through the given reason to the underlying source
- ReadableStream cancellation: cancel() on a locked stream should fail and not call the underlying source cancel
- ReadableStream cancellation: should fulfill promise when cancel callback went fine
- ReadableStream cancellation: returning a value from the underlying source's cancel should not affect the fulfillment value of the promise returned by the stream's cancel
- ReadableStream cancellation: should reject promise when cancel callback raises an exception
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (1)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (2)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should reject when that one does
- ReadableStream cancellation: cancelling before start finishes should prevent pull() from being called
- ReadableStream cancellation: underlyingSource.cancel() should called, even with pending pull
/streams/readable-streams/cancel.any.sharedworker.html OK 11 / 11
11 passing subtests
- ReadableStream cancellation: integration test on an infinite stream derived from a random push source
- ReadableStream cancellation: cancel(reason) should pass through the given reason to the underlying source
- ReadableStream cancellation: cancel() on a locked stream should fail and not call the underlying source cancel
- ReadableStream cancellation: should fulfill promise when cancel callback went fine
- ReadableStream cancellation: returning a value from the underlying source's cancel should not affect the fulfillment value of the promise returned by the stream's cancel
- ReadableStream cancellation: should reject promise when cancel callback raises an exception
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (1)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (2)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should reject when that one does
- ReadableStream cancellation: cancelling before start finishes should prevent pull() from being called
- ReadableStream cancellation: underlyingSource.cancel() should called, even with pending pull
/streams/readable-streams/cancel.any.worker.html OK 11 / 11
11 passing subtests
- ReadableStream cancellation: integration test on an infinite stream derived from a random push source
- ReadableStream cancellation: cancel(reason) should pass through the given reason to the underlying source
- ReadableStream cancellation: cancel() on a locked stream should fail and not call the underlying source cancel
- ReadableStream cancellation: should fulfill promise when cancel callback went fine
- ReadableStream cancellation: returning a value from the underlying source's cancel should not affect the fulfillment value of the promise returned by the stream's cancel
- ReadableStream cancellation: should reject promise when cancel callback raises an exception
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (1)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should fulfill when that one does (2)
- ReadableStream cancellation: if the underlying source's cancel method returns a promise, the promise returned by the stream's cancel should reject when that one does
- ReadableStream cancellation: cancelling before start finishes should prevent pull() from being called
- ReadableStream cancellation: underlyingSource.cancel() should called, even with pending pull
constructor.any.js 4 / 4 passingChrome 4 / 40 failedClean
/streams/readable-streams/constructor.any.html OK 1 / 1
1 passing subtest
- underlyingSource argument should be converted after queuingStrategy argument
/streams/readable-streams/constructor.any.serviceworker.html OK 1 / 1
1 passing subtest
- underlyingSource argument should be converted after queuingStrategy argument
/streams/readable-streams/constructor.any.sharedworker.html OK 1 / 1
1 passing subtest
- underlyingSource argument should be converted after queuingStrategy argument
/streams/readable-streams/constructor.any.worker.html OK 1 / 1
1 passing subtest
- underlyingSource argument should be converted after queuingStrategy argument
count-queuing-strategy-integration.any.js 16 / 16 passingChrome 16 / 160 failedClean
/streams/readable-streams/count-queuing-strategy-integration.any.html OK 4 / 4
4 passing subtests
- Can construct a readable stream with a valid CountQueuingStrategy
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 0)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 1)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 4)
/streams/readable-streams/count-queuing-strategy-integration.any.serviceworker.html OK 4 / 4
4 passing subtests
- Can construct a readable stream with a valid CountQueuingStrategy
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 0)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 1)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 4)
/streams/readable-streams/count-queuing-strategy-integration.any.sharedworker.html OK 4 / 4
4 passing subtests
- Can construct a readable stream with a valid CountQueuingStrategy
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 0)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 1)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 4)
/streams/readable-streams/count-queuing-strategy-integration.any.worker.html OK 4 / 4
4 passing subtests
- Can construct a readable stream with a valid CountQueuingStrategy
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 0)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 1)
- Correctly governs a ReadableStreamController's desiredSize property (HWM = 4)
cross-realm-crash.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- should not crash on reading from stream cancelled in destroyed realm
default-reader.any.js 116 / 116 passingChrome 116 / 1160 failedClean
/streams/readable-streams/default-reader.any.html OK 29 / 29
29 passing subtests
- ReadableStreamDefaultReader constructor should get a ReadableStream object as argument
- ReadableStreamDefaultReader closed should always return the same promise object
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via direct construction)
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via getReader)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via getReader)
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is closed
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is errored
- Reading from a reader for an empty stream will wait until a chunk is available
- cancel() on a reader does not release the reader
- closed should be fulfilled after stream is closed (.closed access before acquiring)
- closed should be rejected after reader releases its lock (multiple stream locks)
- closed is replaced when stream closes and reader releases its lock
- closed is replaced when stream errors and reader releases its lock
- Multiple readers can access the stream in sequence
- Cannot use an already-released reader to unlock a stream again
- cancel() on a released reader is a no-op and does not pass through
- Getting a second reader after erroring the stream and releasing the reader should succeed
- ReadableStreamDefaultReader closed promise should be rejected with undefined if that is the error
- ReadableStreamDefaultReader: if start rejects with no parameter, it should error the stream with an undefined error
- Erroring a ReadableStream after checking closed should reject ReadableStreamDefaultReader closed promise
- Erroring a ReadableStream before checking closed should reject ReadableStreamDefaultReader closed promise
- Reading twice on a stream that gets closed
- Reading twice on a closed stream
- Reading twice on an errored stream
- Reading twice on a stream that gets errored
- getReader() should call ToString() on mode
- controller.close() should clear the list of pending read requests
- Second reader can read chunks after first reader was released with pending read requests
/streams/readable-streams/default-reader.any.serviceworker.html OK 29 / 29
29 passing subtests
- ReadableStreamDefaultReader constructor should get a ReadableStream object as argument
- ReadableStreamDefaultReader closed should always return the same promise object
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via direct construction)
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via getReader)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via getReader)
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is closed
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is errored
- Reading from a reader for an empty stream will wait until a chunk is available
- cancel() on a reader does not release the reader
- closed should be fulfilled after stream is closed (.closed access before acquiring)
- closed should be rejected after reader releases its lock (multiple stream locks)
- closed is replaced when stream closes and reader releases its lock
- closed is replaced when stream errors and reader releases its lock
- Multiple readers can access the stream in sequence
- Cannot use an already-released reader to unlock a stream again
- cancel() on a released reader is a no-op and does not pass through
- Getting a second reader after erroring the stream and releasing the reader should succeed
- ReadableStreamDefaultReader closed promise should be rejected with undefined if that is the error
- ReadableStreamDefaultReader: if start rejects with no parameter, it should error the stream with an undefined error
- Erroring a ReadableStream after checking closed should reject ReadableStreamDefaultReader closed promise
- Erroring a ReadableStream before checking closed should reject ReadableStreamDefaultReader closed promise
- Reading twice on a stream that gets closed
- Reading twice on a closed stream
- Reading twice on an errored stream
- Reading twice on a stream that gets errored
- getReader() should call ToString() on mode
- controller.close() should clear the list of pending read requests
- Second reader can read chunks after first reader was released with pending read requests
/streams/readable-streams/default-reader.any.sharedworker.html OK 29 / 29
29 passing subtests
- ReadableStreamDefaultReader constructor should get a ReadableStream object as argument
- ReadableStreamDefaultReader closed should always return the same promise object
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via direct construction)
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via getReader)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via getReader)
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is closed
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is errored
- Reading from a reader for an empty stream will wait until a chunk is available
- cancel() on a reader does not release the reader
- closed should be fulfilled after stream is closed (.closed access before acquiring)
- closed should be rejected after reader releases its lock (multiple stream locks)
- closed is replaced when stream closes and reader releases its lock
- closed is replaced when stream errors and reader releases its lock
- Multiple readers can access the stream in sequence
- Cannot use an already-released reader to unlock a stream again
- cancel() on a released reader is a no-op and does not pass through
- Getting a second reader after erroring the stream and releasing the reader should succeed
- ReadableStreamDefaultReader closed promise should be rejected with undefined if that is the error
- ReadableStreamDefaultReader: if start rejects with no parameter, it should error the stream with an undefined error
- Erroring a ReadableStream after checking closed should reject ReadableStreamDefaultReader closed promise
- Erroring a ReadableStream before checking closed should reject ReadableStreamDefaultReader closed promise
- Reading twice on a stream that gets closed
- Reading twice on a closed stream
- Reading twice on an errored stream
- Reading twice on a stream that gets errored
- getReader() should call ToString() on mode
- controller.close() should clear the list of pending read requests
- Second reader can read chunks after first reader was released with pending read requests
/streams/readable-streams/default-reader.any.worker.html OK 29 / 29
29 passing subtests
- ReadableStreamDefaultReader constructor should get a ReadableStream object as argument
- ReadableStreamDefaultReader closed should always return the same promise object
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via direct construction)
- Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via getReader)
- Getting a ReadableStreamDefaultReader via getReader should fail if the stream is already locked (via getReader)
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is closed
- Constructing a ReadableStreamDefaultReader directly should be OK if the stream is errored
- Reading from a reader for an empty stream will wait until a chunk is available
- cancel() on a reader does not release the reader
- closed should be fulfilled after stream is closed (.closed access before acquiring)
- closed should be rejected after reader releases its lock (multiple stream locks)
- closed is replaced when stream closes and reader releases its lock
- closed is replaced when stream errors and reader releases its lock
- Multiple readers can access the stream in sequence
- Cannot use an already-released reader to unlock a stream again
- cancel() on a released reader is a no-op and does not pass through
- Getting a second reader after erroring the stream and releasing the reader should succeed
- ReadableStreamDefaultReader closed promise should be rejected with undefined if that is the error
- ReadableStreamDefaultReader: if start rejects with no parameter, it should error the stream with an undefined error
- Erroring a ReadableStream after checking closed should reject ReadableStreamDefaultReader closed promise
- Erroring a ReadableStream before checking closed should reject ReadableStreamDefaultReader closed promise
- Reading twice on a stream that gets closed
- Reading twice on a closed stream
- Reading twice on an errored stream
- Reading twice on a stream that gets errored
- getReader() should call ToString() on mode
- controller.close() should clear the list of pending read requests
- Second reader can read chunks after first reader was released with pending read requests
floating-point-total-queue-size.any.js 16 / 16 passingChrome 16 / 160 failedClean
/streams/readable-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/readable-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/readable-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/readable-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)
from.any.js 200 / 200 passingChrome 56 / 2000 failedClean
/streams/readable-streams/from.any.html OK 50 / 50
50 passing subtests
- ReadableStream.from accepts an array of values
- ReadableStream.from accepts an array of promises
- ReadableStream.from accepts an array iterator
- ReadableStream.from accepts a Set
- ReadableStream.from accepts a Set iterator
- ReadableStream.from accepts a sync generator
- ReadableStream.from accepts an async generator
- ReadableStream.from accepts a sync iterable of values
- ReadableStream.from accepts a sync iterable of promises
- ReadableStream.from accepts a sync iterable with a function iterator
- ReadableStream.from accepts an async iterable
- ReadableStream.from accepts an async iterable with a function iterator
- ReadableStream.from accepts a ReadableStream
- ReadableStream.from accepts a ReadableStream async iterator
- ReadableStream.from throws on invalid iterables; specifically null
- ReadableStream.from throws on invalid iterables; specifically undefined
- ReadableStream.from throws on invalid iterables; specifically 0
- ReadableStream.from throws on invalid iterables; specifically NaN
- ReadableStream.from throws on invalid iterables; specifically true
- ReadableStream.from throws on invalid iterables; specifically {}
- ReadableStream.from throws on invalid iterables; specifically Object.create(null)
- ReadableStream.from throws on invalid iterables; specifically a function
- ReadableStream.from throws on invalid iterables; specifically a symbol
- ReadableStream.from throws on invalid iterables; specifically a string
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@iterator method
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@asyncIterator method
- ReadableStream.from throws on invalid iterables; specifically an object with an @@iterator method returning a non-object
- ReadableStream.from throws on invalid iterables; specifically an object with an @@asyncIterator method returning a non-object
- ReadableStream.from re-throws errors from calling the @@iterator method
- ReadableStream.from re-throws errors from calling the @@asyncIterator method
- ReadableStream.from ignores @@iterator if @@asyncIterator exists
- ReadableStream.from ignores a null @@asyncIterator
- ReadableStream.from accepts an empty iterable
- ReadableStream.from: stream errors when next() rejects
- ReadableStream.from: stream errors when next() throws synchronously
- ReadableStream.from: stream errors when next() returns a non-object
- ReadableStream.from: stream errors when next() fulfills with a non-object
- ReadableStream.from: stream stalls when next() never settles
- ReadableStream.from: calls next() after first read()
- ReadableStream.from: cancelling the returned stream calls and awaits return()
- ReadableStream.from: return() is not called when iterator completes normally
- ReadableStream.from: cancel() resolves when return() method is missing
- ReadableStream.from: cancel() rejects when return() is not a method
- ReadableStream.from: cancel() rejects when return() rejects
- ReadableStream.from: cancel() rejects when return() throws synchronously
- ReadableStream.from: cancel() rejects when return() fulfills with a non-object
- ReadableStream.from: reader.read() inside next()
- ReadableStream.from: reader.cancel() inside next()
- ReadableStream.from: reader.cancel() inside return()
- ReadableStream.from(array), push() to array while reading
/streams/readable-streams/from.any.serviceworker.html OK 50 / 50
50 passing subtests
- ReadableStream.from accepts an array of values
- ReadableStream.from accepts an array of promises
- ReadableStream.from accepts an array iterator
- ReadableStream.from accepts a Set
- ReadableStream.from accepts a Set iterator
- ReadableStream.from accepts a sync generator
- ReadableStream.from accepts an async generator
- ReadableStream.from accepts a sync iterable of values
- ReadableStream.from accepts a sync iterable of promises
- ReadableStream.from accepts a sync iterable with a function iterator
- ReadableStream.from accepts an async iterable
- ReadableStream.from accepts an async iterable with a function iterator
- ReadableStream.from accepts a ReadableStream
- ReadableStream.from accepts a ReadableStream async iterator
- ReadableStream.from throws on invalid iterables; specifically null
- ReadableStream.from throws on invalid iterables; specifically undefined
- ReadableStream.from throws on invalid iterables; specifically 0
- ReadableStream.from throws on invalid iterables; specifically NaN
- ReadableStream.from throws on invalid iterables; specifically true
- ReadableStream.from throws on invalid iterables; specifically {}
- ReadableStream.from throws on invalid iterables; specifically Object.create(null)
- ReadableStream.from throws on invalid iterables; specifically a function
- ReadableStream.from throws on invalid iterables; specifically a symbol
- ReadableStream.from throws on invalid iterables; specifically a string
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@iterator method
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@asyncIterator method
- ReadableStream.from throws on invalid iterables; specifically an object with an @@iterator method returning a non-object
- ReadableStream.from throws on invalid iterables; specifically an object with an @@asyncIterator method returning a non-object
- ReadableStream.from re-throws errors from calling the @@iterator method
- ReadableStream.from re-throws errors from calling the @@asyncIterator method
- ReadableStream.from ignores @@iterator if @@asyncIterator exists
- ReadableStream.from ignores a null @@asyncIterator
- ReadableStream.from accepts an empty iterable
- ReadableStream.from: stream errors when next() rejects
- ReadableStream.from: stream errors when next() throws synchronously
- ReadableStream.from: stream errors when next() returns a non-object
- ReadableStream.from: stream errors when next() fulfills with a non-object
- ReadableStream.from: stream stalls when next() never settles
- ReadableStream.from: calls next() after first read()
- ReadableStream.from: cancelling the returned stream calls and awaits return()
- ReadableStream.from: return() is not called when iterator completes normally
- ReadableStream.from: cancel() resolves when return() method is missing
- ReadableStream.from: cancel() rejects when return() is not a method
- ReadableStream.from: cancel() rejects when return() rejects
- ReadableStream.from: cancel() rejects when return() throws synchronously
- ReadableStream.from: cancel() rejects when return() fulfills with a non-object
- ReadableStream.from: reader.read() inside next()
- ReadableStream.from: reader.cancel() inside next()
- ReadableStream.from: reader.cancel() inside return()
- ReadableStream.from(array), push() to array while reading
/streams/readable-streams/from.any.sharedworker.html OK 50 / 50
50 passing subtests
- ReadableStream.from accepts an array of values
- ReadableStream.from accepts an array of promises
- ReadableStream.from accepts an array iterator
- ReadableStream.from accepts a Set
- ReadableStream.from accepts a Set iterator
- ReadableStream.from accepts a sync generator
- ReadableStream.from accepts an async generator
- ReadableStream.from accepts a sync iterable of values
- ReadableStream.from accepts a sync iterable of promises
- ReadableStream.from accepts a sync iterable with a function iterator
- ReadableStream.from accepts an async iterable
- ReadableStream.from accepts an async iterable with a function iterator
- ReadableStream.from accepts a ReadableStream
- ReadableStream.from accepts a ReadableStream async iterator
- ReadableStream.from throws on invalid iterables; specifically null
- ReadableStream.from throws on invalid iterables; specifically undefined
- ReadableStream.from throws on invalid iterables; specifically 0
- ReadableStream.from throws on invalid iterables; specifically NaN
- ReadableStream.from throws on invalid iterables; specifically true
- ReadableStream.from throws on invalid iterables; specifically {}
- ReadableStream.from throws on invalid iterables; specifically Object.create(null)
- ReadableStream.from throws on invalid iterables; specifically a function
- ReadableStream.from throws on invalid iterables; specifically a symbol
- ReadableStream.from throws on invalid iterables; specifically a string
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@iterator method
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@asyncIterator method
- ReadableStream.from throws on invalid iterables; specifically an object with an @@iterator method returning a non-object
- ReadableStream.from throws on invalid iterables; specifically an object with an @@asyncIterator method returning a non-object
- ReadableStream.from re-throws errors from calling the @@iterator method
- ReadableStream.from re-throws errors from calling the @@asyncIterator method
- ReadableStream.from ignores @@iterator if @@asyncIterator exists
- ReadableStream.from ignores a null @@asyncIterator
- ReadableStream.from accepts an empty iterable
- ReadableStream.from: stream errors when next() rejects
- ReadableStream.from: stream errors when next() throws synchronously
- ReadableStream.from: stream errors when next() returns a non-object
- ReadableStream.from: stream errors when next() fulfills with a non-object
- ReadableStream.from: stream stalls when next() never settles
- ReadableStream.from: calls next() after first read()
- ReadableStream.from: cancelling the returned stream calls and awaits return()
- ReadableStream.from: return() is not called when iterator completes normally
- ReadableStream.from: cancel() resolves when return() method is missing
- ReadableStream.from: cancel() rejects when return() is not a method
- ReadableStream.from: cancel() rejects when return() rejects
- ReadableStream.from: cancel() rejects when return() throws synchronously
- ReadableStream.from: cancel() rejects when return() fulfills with a non-object
- ReadableStream.from: reader.read() inside next()
- ReadableStream.from: reader.cancel() inside next()
- ReadableStream.from: reader.cancel() inside return()
- ReadableStream.from(array), push() to array while reading
/streams/readable-streams/from.any.worker.html OK 50 / 50
50 passing subtests
- ReadableStream.from accepts an array of values
- ReadableStream.from accepts an array of promises
- ReadableStream.from accepts an array iterator
- ReadableStream.from accepts a Set
- ReadableStream.from accepts a Set iterator
- ReadableStream.from accepts a sync generator
- ReadableStream.from accepts an async generator
- ReadableStream.from accepts a sync iterable of values
- ReadableStream.from accepts a sync iterable of promises
- ReadableStream.from accepts a sync iterable with a function iterator
- ReadableStream.from accepts an async iterable
- ReadableStream.from accepts an async iterable with a function iterator
- ReadableStream.from accepts a ReadableStream
- ReadableStream.from accepts a ReadableStream async iterator
- ReadableStream.from throws on invalid iterables; specifically null
- ReadableStream.from throws on invalid iterables; specifically undefined
- ReadableStream.from throws on invalid iterables; specifically 0
- ReadableStream.from throws on invalid iterables; specifically NaN
- ReadableStream.from throws on invalid iterables; specifically true
- ReadableStream.from throws on invalid iterables; specifically {}
- ReadableStream.from throws on invalid iterables; specifically Object.create(null)
- ReadableStream.from throws on invalid iterables; specifically a function
- ReadableStream.from throws on invalid iterables; specifically a symbol
- ReadableStream.from throws on invalid iterables; specifically a string
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@iterator method
- ReadableStream.from throws on invalid iterables; specifically an object with a non-callable @@asyncIterator method
- ReadableStream.from throws on invalid iterables; specifically an object with an @@iterator method returning a non-object
- ReadableStream.from throws on invalid iterables; specifically an object with an @@asyncIterator method returning a non-object
- ReadableStream.from re-throws errors from calling the @@iterator method
- ReadableStream.from re-throws errors from calling the @@asyncIterator method
- ReadableStream.from ignores @@iterator if @@asyncIterator exists
- ReadableStream.from ignores a null @@asyncIterator
- ReadableStream.from accepts an empty iterable
- ReadableStream.from: stream errors when next() rejects
- ReadableStream.from: stream errors when next() throws synchronously
- ReadableStream.from: stream errors when next() returns a non-object
- ReadableStream.from: stream errors when next() fulfills with a non-object
- ReadableStream.from: stream stalls when next() never settles
- ReadableStream.from: calls next() after first read()
- ReadableStream.from: cancelling the returned stream calls and awaits return()
- ReadableStream.from: return() is not called when iterator completes normally
- ReadableStream.from: cancel() resolves when return() method is missing
- ReadableStream.from: cancel() rejects when return() is not a method
- ReadableStream.from: cancel() rejects when return() rejects
- ReadableStream.from: cancel() rejects when return() throws synchronously
- ReadableStream.from: cancel() rejects when return() fulfills with a non-object
- ReadableStream.from: reader.read() inside next()
- ReadableStream.from: reader.cancel() inside next()
- ReadableStream.from: reader.cancel() inside return()
- ReadableStream.from(array), push() to array while reading
garbage-collection.any.js 20 / 20 passingChrome 20 / 200 failedClean
/streams/readable-streams/garbage-collection.any.html OK 5 / 5
5 passing subtests
- ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream
- ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
- ReadableStream closed promise should reject even if stream and reader JS references are lost
- Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
- A ReadableStream and its reader should not be garbage collected while there is a read promise pending
/streams/readable-streams/garbage-collection.any.serviceworker.html OK 5 / 5
5 passing subtests
- ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream
- ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
- ReadableStream closed promise should reject even if stream and reader JS references are lost
- Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
- A ReadableStream and its reader should not be garbage collected while there is a read promise pending
/streams/readable-streams/garbage-collection.any.sharedworker.html OK 5 / 5
5 passing subtests
- ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream
- ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
- ReadableStream closed promise should reject even if stream and reader JS references are lost
- Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
- A ReadableStream and its reader should not be garbage collected while there is a read promise pending
/streams/readable-streams/garbage-collection.any.worker.html OK 5 / 5
5 passing subtests
- ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream
- ReadableStream closed promise should fulfill even if the stream and reader JS references are lost
- ReadableStream closed promise should reject even if stream and reader JS references are lost
- Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream
- A ReadableStream and its reader should not be garbage collected while there is a read promise pending
general.any.js 152 / 152 passingChrome 148 / 1520 failedClean
/streams/readable-streams/general.any.html OK 38 / 38
38 passing subtests
- ReadableStream can be constructed with no errors
- ReadableStream can't be constructed with garbage
- ReadableStream can't be constructed with an invalid type
- ReadableStream constructor should throw for non-function start arguments
- ReadableStream constructor will not tolerate initial garbage as cancel argument
- ReadableStream constructor will not tolerate initial garbage as pull argument
- ReadableStream start should be called with the proper thisArg
- ReadableStream start controller parameter should be extensible
- default ReadableStream getReader() should only accept mode:undefined
- ReadableStream should be able to call start method within prototype chain of its source
- ReadableStream start should be able to return a promise
- ReadableStream start should be able to return a promise and reject it
- ReadableStream should be able to enqueue different objects.
- ReadableStream: if pull rejects, it should error the stream
- ReadableStream: should only call pull once upon starting the stream
- ReadableStream: should call pull when trying to read from a started, empty stream
- ReadableStream: should only call pull once on a non-empty stream read from before start fulfills
- ReadableStream: should only call pull once on a non-empty stream read from after start fulfills
- ReadableStream: should call pull in reaction to read()ing the last chunk, if not draining
- ReadableStream: should not call pull() in reaction to read()ing the last chunk, if draining
- ReadableStream: should not call pull until the previous pull call's promise fulfills
- ReadableStream: should pull after start, and after every read
- ReadableStream: should not call pull after start if the stream is now closed
- ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows
- ReadableStream pull should be able to close a stream.
- ReadableStream pull should be able to error a stream.
- ReadableStream pull should be able to error a stream and throw.
- ReadableStream: enqueue should throw when the stream is readable but draining
- ReadableStream: enqueue should throw when the stream is closed
- ReadableStream: should call underlying source methods as methods
- ReadableStream: desiredSize when closed
- ReadableStream: desiredSize when errored
- Subclassing ReadableStream should work
- ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue
- ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately
- ReadableStream integration test: adapting a random push source
- ReadableStream integration test: adapting a sync pull source
- ReadableStream integration test: adapting an async pull source
/streams/readable-streams/general.any.serviceworker.html OK 38 / 38
38 passing subtests
- ReadableStream can be constructed with no errors
- ReadableStream can't be constructed with garbage
- ReadableStream can't be constructed with an invalid type
- ReadableStream constructor should throw for non-function start arguments
- ReadableStream constructor will not tolerate initial garbage as cancel argument
- ReadableStream constructor will not tolerate initial garbage as pull argument
- ReadableStream start should be called with the proper thisArg
- ReadableStream start controller parameter should be extensible
- default ReadableStream getReader() should only accept mode:undefined
- ReadableStream should be able to call start method within prototype chain of its source
- ReadableStream start should be able to return a promise
- ReadableStream start should be able to return a promise and reject it
- ReadableStream should be able to enqueue different objects.
- ReadableStream: if pull rejects, it should error the stream
- ReadableStream: should only call pull once upon starting the stream
- ReadableStream: should call pull when trying to read from a started, empty stream
- ReadableStream: should only call pull once on a non-empty stream read from before start fulfills
- ReadableStream: should only call pull once on a non-empty stream read from after start fulfills
- ReadableStream: should call pull in reaction to read()ing the last chunk, if not draining
- ReadableStream: should not call pull() in reaction to read()ing the last chunk, if draining
- ReadableStream: should not call pull until the previous pull call's promise fulfills
- ReadableStream: should pull after start, and after every read
- ReadableStream: should not call pull after start if the stream is now closed
- ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows
- ReadableStream pull should be able to close a stream.
- ReadableStream pull should be able to error a stream.
- ReadableStream pull should be able to error a stream and throw.
- ReadableStream: enqueue should throw when the stream is readable but draining
- ReadableStream: enqueue should throw when the stream is closed
- ReadableStream: should call underlying source methods as methods
- ReadableStream: desiredSize when closed
- ReadableStream: desiredSize when errored
- Subclassing ReadableStream should work
- ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue
- ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately
- ReadableStream integration test: adapting a random push source
- ReadableStream integration test: adapting a sync pull source
- ReadableStream integration test: adapting an async pull source
/streams/readable-streams/general.any.sharedworker.html OK 38 / 38
38 passing subtests
- ReadableStream can be constructed with no errors
- ReadableStream can't be constructed with garbage
- ReadableStream can't be constructed with an invalid type
- ReadableStream constructor should throw for non-function start arguments
- ReadableStream constructor will not tolerate initial garbage as cancel argument
- ReadableStream constructor will not tolerate initial garbage as pull argument
- ReadableStream start should be called with the proper thisArg
- ReadableStream start controller parameter should be extensible
- default ReadableStream getReader() should only accept mode:undefined
- ReadableStream should be able to call start method within prototype chain of its source
- ReadableStream start should be able to return a promise
- ReadableStream start should be able to return a promise and reject it
- ReadableStream should be able to enqueue different objects.
- ReadableStream: if pull rejects, it should error the stream
- ReadableStream: should only call pull once upon starting the stream
- ReadableStream: should call pull when trying to read from a started, empty stream
- ReadableStream: should only call pull once on a non-empty stream read from before start fulfills
- ReadableStream: should only call pull once on a non-empty stream read from after start fulfills
- ReadableStream: should call pull in reaction to read()ing the last chunk, if not draining
- ReadableStream: should not call pull() in reaction to read()ing the last chunk, if draining
- ReadableStream: should not call pull until the previous pull call's promise fulfills
- ReadableStream: should pull after start, and after every read
- ReadableStream: should not call pull after start if the stream is now closed
- ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows
- ReadableStream pull should be able to close a stream.
- ReadableStream pull should be able to error a stream.
- ReadableStream pull should be able to error a stream and throw.
- ReadableStream: enqueue should throw when the stream is readable but draining
- ReadableStream: enqueue should throw when the stream is closed
- ReadableStream: should call underlying source methods as methods
- ReadableStream: desiredSize when closed
- ReadableStream: desiredSize when errored
- Subclassing ReadableStream should work
- ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue
- ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately
- ReadableStream integration test: adapting a random push source
- ReadableStream integration test: adapting a sync pull source
- ReadableStream integration test: adapting an async pull source
/streams/readable-streams/general.any.worker.html OK 38 / 38
38 passing subtests
- ReadableStream can be constructed with no errors
- ReadableStream can't be constructed with garbage
- ReadableStream can't be constructed with an invalid type
- ReadableStream constructor should throw for non-function start arguments
- ReadableStream constructor will not tolerate initial garbage as cancel argument
- ReadableStream constructor will not tolerate initial garbage as pull argument
- ReadableStream start should be called with the proper thisArg
- ReadableStream start controller parameter should be extensible
- default ReadableStream getReader() should only accept mode:undefined
- ReadableStream should be able to call start method within prototype chain of its source
- ReadableStream start should be able to return a promise
- ReadableStream start should be able to return a promise and reject it
- ReadableStream should be able to enqueue different objects.
- ReadableStream: if pull rejects, it should error the stream
- ReadableStream: should only call pull once upon starting the stream
- ReadableStream: should call pull when trying to read from a started, empty stream
- ReadableStream: should only call pull once on a non-empty stream read from before start fulfills
- ReadableStream: should only call pull once on a non-empty stream read from after start fulfills
- ReadableStream: should call pull in reaction to read()ing the last chunk, if not draining
- ReadableStream: should not call pull() in reaction to read()ing the last chunk, if draining
- ReadableStream: should not call pull until the previous pull call's promise fulfills
- ReadableStream: should pull after start, and after every read
- ReadableStream: should not call pull after start if the stream is now closed
- ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows
- ReadableStream pull should be able to close a stream.
- ReadableStream pull should be able to error a stream.
- ReadableStream pull should be able to error a stream and throw.
- ReadableStream: enqueue should throw when the stream is readable but draining
- ReadableStream: enqueue should throw when the stream is closed
- ReadableStream: should call underlying source methods as methods
- ReadableStream: desiredSize when closed
- ReadableStream: desiredSize when errored
- Subclassing ReadableStream should work
- ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue
- ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately
- ReadableStream integration test: adapting a random push source
- ReadableStream integration test: adapting a sync pull source
- ReadableStream integration test: adapting an async pull source
global.html 7 / 9 passingChrome 8 / 92 failedWith failures
- ¶
FAILCancel promise is created in same global as stream
assert_equals: Cancel promise comes from the same global as the stream expected true but got false
- ¶
FAILReader objects in correct global
assert_equals: Object comes from other realm expected true but got false
7 passing subtests
- Stream objects created in expected globals
- Closed Promise in correct global
- Desired size can be grafted from one prototype to another
- Closing errored stream throws object in appropriate global
- Can enqueue chunks from multiple globals
- Correct errors and globals for closed streams
- Tee Branches in correct global
patched-global.any.js 20 / 20 passingChrome 20 / 200 failedClean
/streams/readable-streams/patched-global.any.html OK 5 / 5
5 passing subtests
- ReadableStream tee() should not touch Object.prototype properties
- ReadableStream tee() should not call the global ReadableStream
- ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods
- tee() should not call Promise.prototype.then()
- pipeTo() should not call Promise.prototype.then()
/streams/readable-streams/patched-global.any.serviceworker.html OK 5 / 5
5 passing subtests
- ReadableStream tee() should not touch Object.prototype properties
- ReadableStream tee() should not call the global ReadableStream
- ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods
- tee() should not call Promise.prototype.then()
- pipeTo() should not call Promise.prototype.then()
/streams/readable-streams/patched-global.any.sharedworker.html OK 5 / 5
5 passing subtests
- ReadableStream tee() should not touch Object.prototype properties
- ReadableStream tee() should not call the global ReadableStream
- ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods
- tee() should not call Promise.prototype.then()
- pipeTo() should not call Promise.prototype.then()
/streams/readable-streams/patched-global.any.worker.html OK 5 / 5
5 passing subtests
- ReadableStream tee() should not touch Object.prototype properties
- ReadableStream tee() should not call the global ReadableStream
- ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods
- tee() should not call Promise.prototype.then()
- pipeTo() should not call Promise.prototype.then()
read-task-handling.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- reading from a stream should occur in a microtask scope
reentrant-strategies.any.js 40 / 40 passingChrome 40 / 400 failedClean
/streams/readable-streams/reentrant-strategies.any.html OK 10 / 10
10 passing subtests
- enqueue() inside size() should work
- close() inside size() should not crash
- close request inside size() should work
- error() inside size() should work
- desiredSize inside size() should work
- cancel() inside size() should work
- pipeTo() inside size() should behave as expected
- read() inside of size() should behave as expected
- getReader() inside size() should work
- tee() inside size() should work
/streams/readable-streams/reentrant-strategies.any.serviceworker.html OK 10 / 10
10 passing subtests
- enqueue() inside size() should work
- close() inside size() should not crash
- close request inside size() should work
- error() inside size() should work
- desiredSize inside size() should work
- cancel() inside size() should work
- pipeTo() inside size() should behave as expected
- read() inside of size() should behave as expected
- getReader() inside size() should work
- tee() inside size() should work
/streams/readable-streams/reentrant-strategies.any.sharedworker.html OK 10 / 10
10 passing subtests
- enqueue() inside size() should work
- close() inside size() should not crash
- close request inside size() should work
- error() inside size() should work
- desiredSize inside size() should work
- cancel() inside size() should work
- pipeTo() inside size() should behave as expected
- read() inside of size() should behave as expected
- getReader() inside size() should work
- tee() inside size() should work
/streams/readable-streams/reentrant-strategies.any.worker.html OK 10 / 10
10 passing subtests
- enqueue() inside size() should work
- close() inside size() should not crash
- close request inside size() should work
- error() inside size() should work
- desiredSize inside size() should work
- cancel() inside size() should work
- pipeTo() inside size() should behave as expected
- read() inside of size() should behave as expected
- getReader() inside size() should work
- tee() inside size() should work
tee-detached-context-crash.html none reportedChrome —0 failedClean
/streams/readable-streams/tee-detached-context-crash.html PASS none reported
No subtests were reported.
tee.any.js 104 / 104 passingChrome 104 / 1040 failedClean
/streams/readable-streams/tee.any.html OK 26 / 26
26 passing subtests
- ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
- ReadableStream teeing: should be able to read one branch to the end without affecting the other
- ReadableStream teeing: values should be equal across each branch
- ReadableStream teeing: errors in the source should propagate to both branches
- ReadableStream teeing: canceling branch1 should not impact branch2
- ReadableStream teeing: canceling branch2 should not impact branch1
- Running templatedRSTeeCancel with ReadableStream teeing
- ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array
- ReadableStream teeing: canceling both branches in reverse order should aggregate the cancel reasons into an array
- ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches
- ReadableStream teeing: erroring a teed stream should properly handle canceled branches
- ReadableStream teeing: erroring a teed stream should error both branches
- ReadableStream teeing: closing the original should immediately close the branches
- ReadableStream teeing: erroring the original should immediately error the branches
- ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream
- ReadableStream teeing: canceling branch1 should finish when original stream errors
- ReadableStream teeing: canceling both branches in sequence with delay
- ReadableStream teeing: failing to cancel when canceling both branches in sequence with delay
- ReadableStreamTee should not use a modified ReadableStream constructor from the global object
- ReadableStreamTee should not pull more chunks than can fit in the branch queue
- ReadableStreamTee should only pull enough to fill the emptiest queue
- ReadableStreamTee should not pull when original is already errored
- ReadableStreamTee stops pulling when original stream errors while branch 1 is reading
- ReadableStreamTee stops pulling when original stream errors while branch 2 is reading
- ReadableStreamTee stops pulling when original stream errors while both branches are reading
- ReadableStream teeing: enqueue() and close() while both branches are pulling
/streams/readable-streams/tee.any.serviceworker.html OK 26 / 26
26 passing subtests
- ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
- ReadableStream teeing: should be able to read one branch to the end without affecting the other
- ReadableStream teeing: values should be equal across each branch
- ReadableStream teeing: errors in the source should propagate to both branches
- ReadableStream teeing: canceling branch1 should not impact branch2
- ReadableStream teeing: canceling branch2 should not impact branch1
- Running templatedRSTeeCancel with ReadableStream teeing
- ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array
- ReadableStream teeing: canceling both branches in reverse order should aggregate the cancel reasons into an array
- ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches
- ReadableStream teeing: erroring a teed stream should properly handle canceled branches
- ReadableStream teeing: erroring a teed stream should error both branches
- ReadableStream teeing: closing the original should immediately close the branches
- ReadableStream teeing: erroring the original should immediately error the branches
- ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream
- ReadableStream teeing: canceling branch1 should finish when original stream errors
- ReadableStream teeing: canceling both branches in sequence with delay
- ReadableStream teeing: failing to cancel when canceling both branches in sequence with delay
- ReadableStreamTee should not use a modified ReadableStream constructor from the global object
- ReadableStreamTee should not pull more chunks than can fit in the branch queue
- ReadableStreamTee should only pull enough to fill the emptiest queue
- ReadableStreamTee should not pull when original is already errored
- ReadableStreamTee stops pulling when original stream errors while branch 1 is reading
- ReadableStreamTee stops pulling when original stream errors while branch 2 is reading
- ReadableStreamTee stops pulling when original stream errors while both branches are reading
- ReadableStream teeing: enqueue() and close() while both branches are pulling
/streams/readable-streams/tee.any.sharedworker.html OK 26 / 26
26 passing subtests
- ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
- ReadableStream teeing: should be able to read one branch to the end without affecting the other
- ReadableStream teeing: values should be equal across each branch
- ReadableStream teeing: errors in the source should propagate to both branches
- ReadableStream teeing: canceling branch1 should not impact branch2
- ReadableStream teeing: canceling branch2 should not impact branch1
- Running templatedRSTeeCancel with ReadableStream teeing
- ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array
- ReadableStream teeing: canceling both branches in reverse order should aggregate the cancel reasons into an array
- ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches
- ReadableStream teeing: erroring a teed stream should properly handle canceled branches
- ReadableStream teeing: erroring a teed stream should error both branches
- ReadableStream teeing: closing the original should immediately close the branches
- ReadableStream teeing: erroring the original should immediately error the branches
- ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream
- ReadableStream teeing: canceling branch1 should finish when original stream errors
- ReadableStream teeing: canceling both branches in sequence with delay
- ReadableStream teeing: failing to cancel when canceling both branches in sequence with delay
- ReadableStreamTee should not use a modified ReadableStream constructor from the global object
- ReadableStreamTee should not pull more chunks than can fit in the branch queue
- ReadableStreamTee should only pull enough to fill the emptiest queue
- ReadableStreamTee should not pull when original is already errored
- ReadableStreamTee stops pulling when original stream errors while branch 1 is reading
- ReadableStreamTee stops pulling when original stream errors while branch 2 is reading
- ReadableStreamTee stops pulling when original stream errors while both branches are reading
- ReadableStream teeing: enqueue() and close() while both branches are pulling
/streams/readable-streams/tee.any.worker.html OK 26 / 26
26 passing subtests
- ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
- ReadableStream teeing: should be able to read one branch to the end without affecting the other
- ReadableStream teeing: values should be equal across each branch
- ReadableStream teeing: errors in the source should propagate to both branches
- ReadableStream teeing: canceling branch1 should not impact branch2
- ReadableStream teeing: canceling branch2 should not impact branch1
- Running templatedRSTeeCancel with ReadableStream teeing
- ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array
- ReadableStream teeing: canceling both branches in reverse order should aggregate the cancel reasons into an array
- ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches
- ReadableStream teeing: erroring a teed stream should properly handle canceled branches
- ReadableStream teeing: erroring a teed stream should error both branches
- ReadableStream teeing: closing the original should immediately close the branches
- ReadableStream teeing: erroring the original should immediately error the branches
- ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream
- ReadableStream teeing: canceling branch1 should finish when original stream errors
- ReadableStream teeing: canceling both branches in sequence with delay
- ReadableStream teeing: failing to cancel when canceling both branches in sequence with delay
- ReadableStreamTee should not use a modified ReadableStream constructor from the global object
- ReadableStreamTee should not pull more chunks than can fit in the branch queue
- ReadableStreamTee should only pull enough to fill the emptiest queue
- ReadableStreamTee should not pull when original is already errored
- ReadableStreamTee stops pulling when original stream errors while branch 1 is reading
- ReadableStreamTee stops pulling when original stream errors while branch 2 is reading
- ReadableStreamTee stops pulling when original stream errors while both branches are reading
- ReadableStream teeing: enqueue() and close() while both branches are pulling
templated.any.js 364 / 364 passingChrome 364 / 3640 failedClean
/streams/readable-streams/templated.any.html OK 91 / 91
91 passing subtests
- Running templatedRSEmpty with ReadableStream (empty)
- ReadableStream (empty): instances have the correct methods and properties
- ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors
- Running templatedRSEmptyReader with ReadableStream (empty) reader
- ReadableStream (empty) reader: instances have the correct methods and properties
- ReadableStream (empty) reader: locked should be true
- ReadableStream (empty) reader: read() should never settle
- ReadableStream (empty) reader: two read()s should both never settle
- ReadableStream (empty) reader: read() should return distinct promises each time
- ReadableStream (empty) reader: getReader() again on the stream should fail
- ReadableStream (empty) reader: releasing the lock should reject all pending read requests
- ReadableStream (empty) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause closed calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause locked to become false
- ReadableStream (empty) reader: canceling via the reader should cause the reader to act closed
- ReadableStream (empty) reader: canceling via the stream should fail
- Running templatedRSClosed with ReadableStream (closed via call in start)
- ReadableStream (closed via call in start): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via call in start): locked should be false
- ReadableStream (closed via call in start): getReader() should be OK
- ReadableStream (closed via call in start): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via call in start): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed before getting reader)
- ReadableStream reader (closed before getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed before getting reader): closed should fulfill with undefined
- ReadableStream reader (closed before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed before getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosedReader with ReadableStream reader (closed after getting reader)
- ReadableStream reader (closed after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosed with ReadableStream (closed via cancel)
- ReadableStream (closed via cancel): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via cancel): locked should be false
- ReadableStream (closed via cancel): getReader() should be OK
- ReadableStream (closed via cancel): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via cancel): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed via cancel after getting reader)
- ReadableStream reader (closed via cancel after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed via cancel after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed via cancel after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed via cancel after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSErrored with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): getReader() should return a reader that acts errored
- ReadableStream (errored via call in start): read() twice should give the error each time
- ReadableStream (errored via call in start): locked should be false
- Running templatedRSErroredSyncOnly with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): should be able to obtain a second reader, with the correct closed promise
- ReadableStream (errored via call in start): should not be able to obtain additional readers if we don't release the first lock
- ReadableStream (errored via call in start): cancel() should return a distinct rejected promise each time
- ReadableStream (errored via call in start): reader cancel() should return a distinct rejected promise each time
- Running templatedRSErrored with ReadableStream (errored via returning a rejected promise in start)
- ReadableStream (errored via returning a rejected promise in start): getReader() should return a reader that acts errored
- ReadableStream (errored via returning a rejected promise in start): read() twice should give the error each time
- ReadableStream (errored via returning a rejected promise in start): locked should be false
- Running templatedRSErroredReader with ReadableStream (errored via returning a rejected promise in start) reader
- ReadableStream (errored via returning a rejected promise in start) reader: closed should reject with the error
- ReadableStream (errored via returning a rejected promise in start) reader: releasing the lock should cause closed to reject and change identity
- ReadableStream (errored via returning a rejected promise in start) reader: read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored before getting reader)
- ReadableStream reader (errored before getting reader): closed should reject with the error
- ReadableStream reader (errored before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored before getting reader): read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored after getting reader)
- ReadableStream reader (errored after getting reader): closed should reject with the error
- ReadableStream reader (errored after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored after getting reader): read() should reject with the error
- Running templatedRSTwoChunksOpenReader with ReadableStream (two chunks enqueued, still open) reader
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (sequential)
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (nested)
- ReadableStream (two chunks enqueued, still open) reader: read() should return distinct promises each time
- ReadableStream (two chunks enqueued, still open) reader: cancel() after a read() should still give that single read result
- Running templatedRSTwoChunksClosedReader with ReadableStream (two chunks enqueued, then closed) reader
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (sequential)
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (nested)
- ReadableStream (two chunks enqueued, then closed) reader: draining the stream via read() should cause the reader closed promise to fulfill, but locked stays true
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock after the stream is closed should cause locked to become false
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (two chunks enqueued, then closed) reader: reader's closed property always returns the same promise
- Running templatedRSThrowAfterCloseOrError with ReadableStream
- ReadableStream: enqueue() throws after close()
- ReadableStream: enqueue() throws after enqueue() and close()
- ReadableStream: enqueue() throws after error()
- ReadableStream: close() throws after error()
/streams/readable-streams/templated.any.serviceworker.html OK 91 / 91
91 passing subtests
- Running templatedRSEmpty with ReadableStream (empty)
- ReadableStream (empty): instances have the correct methods and properties
- ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors
- Running templatedRSEmptyReader with ReadableStream (empty) reader
- ReadableStream (empty) reader: instances have the correct methods and properties
- ReadableStream (empty) reader: locked should be true
- ReadableStream (empty) reader: read() should never settle
- ReadableStream (empty) reader: two read()s should both never settle
- ReadableStream (empty) reader: read() should return distinct promises each time
- ReadableStream (empty) reader: getReader() again on the stream should fail
- ReadableStream (empty) reader: releasing the lock should reject all pending read requests
- ReadableStream (empty) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause closed calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause locked to become false
- ReadableStream (empty) reader: canceling via the reader should cause the reader to act closed
- ReadableStream (empty) reader: canceling via the stream should fail
- Running templatedRSClosed with ReadableStream (closed via call in start)
- ReadableStream (closed via call in start): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via call in start): locked should be false
- ReadableStream (closed via call in start): getReader() should be OK
- ReadableStream (closed via call in start): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via call in start): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed before getting reader)
- ReadableStream reader (closed before getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed before getting reader): closed should fulfill with undefined
- ReadableStream reader (closed before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed before getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosedReader with ReadableStream reader (closed after getting reader)
- ReadableStream reader (closed after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosed with ReadableStream (closed via cancel)
- ReadableStream (closed via cancel): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via cancel): locked should be false
- ReadableStream (closed via cancel): getReader() should be OK
- ReadableStream (closed via cancel): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via cancel): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed via cancel after getting reader)
- ReadableStream reader (closed via cancel after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed via cancel after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed via cancel after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed via cancel after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSErrored with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): getReader() should return a reader that acts errored
- ReadableStream (errored via call in start): read() twice should give the error each time
- ReadableStream (errored via call in start): locked should be false
- Running templatedRSErroredSyncOnly with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): should be able to obtain a second reader, with the correct closed promise
- ReadableStream (errored via call in start): should not be able to obtain additional readers if we don't release the first lock
- ReadableStream (errored via call in start): cancel() should return a distinct rejected promise each time
- ReadableStream (errored via call in start): reader cancel() should return a distinct rejected promise each time
- Running templatedRSErrored with ReadableStream (errored via returning a rejected promise in start)
- ReadableStream (errored via returning a rejected promise in start): getReader() should return a reader that acts errored
- ReadableStream (errored via returning a rejected promise in start): read() twice should give the error each time
- ReadableStream (errored via returning a rejected promise in start): locked should be false
- Running templatedRSErroredReader with ReadableStream (errored via returning a rejected promise in start) reader
- ReadableStream (errored via returning a rejected promise in start) reader: closed should reject with the error
- ReadableStream (errored via returning a rejected promise in start) reader: releasing the lock should cause closed to reject and change identity
- ReadableStream (errored via returning a rejected promise in start) reader: read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored before getting reader)
- ReadableStream reader (errored before getting reader): closed should reject with the error
- ReadableStream reader (errored before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored before getting reader): read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored after getting reader)
- ReadableStream reader (errored after getting reader): closed should reject with the error
- ReadableStream reader (errored after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored after getting reader): read() should reject with the error
- Running templatedRSTwoChunksOpenReader with ReadableStream (two chunks enqueued, still open) reader
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (sequential)
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (nested)
- ReadableStream (two chunks enqueued, still open) reader: read() should return distinct promises each time
- ReadableStream (two chunks enqueued, still open) reader: cancel() after a read() should still give that single read result
- Running templatedRSTwoChunksClosedReader with ReadableStream (two chunks enqueued, then closed) reader
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (sequential)
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (nested)
- ReadableStream (two chunks enqueued, then closed) reader: draining the stream via read() should cause the reader closed promise to fulfill, but locked stays true
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock after the stream is closed should cause locked to become false
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (two chunks enqueued, then closed) reader: reader's closed property always returns the same promise
- Running templatedRSThrowAfterCloseOrError with ReadableStream
- ReadableStream: enqueue() throws after close()
- ReadableStream: enqueue() throws after enqueue() and close()
- ReadableStream: enqueue() throws after error()
- ReadableStream: close() throws after error()
/streams/readable-streams/templated.any.sharedworker.html OK 91 / 91
91 passing subtests
- Running templatedRSEmpty with ReadableStream (empty)
- ReadableStream (empty): instances have the correct methods and properties
- ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors
- Running templatedRSEmptyReader with ReadableStream (empty) reader
- ReadableStream (empty) reader: instances have the correct methods and properties
- ReadableStream (empty) reader: locked should be true
- ReadableStream (empty) reader: read() should never settle
- ReadableStream (empty) reader: two read()s should both never settle
- ReadableStream (empty) reader: read() should return distinct promises each time
- ReadableStream (empty) reader: getReader() again on the stream should fail
- ReadableStream (empty) reader: releasing the lock should reject all pending read requests
- ReadableStream (empty) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause closed calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause locked to become false
- ReadableStream (empty) reader: canceling via the reader should cause the reader to act closed
- ReadableStream (empty) reader: canceling via the stream should fail
- Running templatedRSClosed with ReadableStream (closed via call in start)
- ReadableStream (closed via call in start): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via call in start): locked should be false
- ReadableStream (closed via call in start): getReader() should be OK
- ReadableStream (closed via call in start): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via call in start): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed before getting reader)
- ReadableStream reader (closed before getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed before getting reader): closed should fulfill with undefined
- ReadableStream reader (closed before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed before getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosedReader with ReadableStream reader (closed after getting reader)
- ReadableStream reader (closed after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosed with ReadableStream (closed via cancel)
- ReadableStream (closed via cancel): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via cancel): locked should be false
- ReadableStream (closed via cancel): getReader() should be OK
- ReadableStream (closed via cancel): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via cancel): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed via cancel after getting reader)
- ReadableStream reader (closed via cancel after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed via cancel after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed via cancel after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed via cancel after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSErrored with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): getReader() should return a reader that acts errored
- ReadableStream (errored via call in start): read() twice should give the error each time
- ReadableStream (errored via call in start): locked should be false
- Running templatedRSErroredSyncOnly with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): should be able to obtain a second reader, with the correct closed promise
- ReadableStream (errored via call in start): should not be able to obtain additional readers if we don't release the first lock
- ReadableStream (errored via call in start): cancel() should return a distinct rejected promise each time
- ReadableStream (errored via call in start): reader cancel() should return a distinct rejected promise each time
- Running templatedRSErrored with ReadableStream (errored via returning a rejected promise in start)
- ReadableStream (errored via returning a rejected promise in start): getReader() should return a reader that acts errored
- ReadableStream (errored via returning a rejected promise in start): read() twice should give the error each time
- ReadableStream (errored via returning a rejected promise in start): locked should be false
- Running templatedRSErroredReader with ReadableStream (errored via returning a rejected promise in start) reader
- ReadableStream (errored via returning a rejected promise in start) reader: closed should reject with the error
- ReadableStream (errored via returning a rejected promise in start) reader: releasing the lock should cause closed to reject and change identity
- ReadableStream (errored via returning a rejected promise in start) reader: read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored before getting reader)
- ReadableStream reader (errored before getting reader): closed should reject with the error
- ReadableStream reader (errored before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored before getting reader): read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored after getting reader)
- ReadableStream reader (errored after getting reader): closed should reject with the error
- ReadableStream reader (errored after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored after getting reader): read() should reject with the error
- Running templatedRSTwoChunksOpenReader with ReadableStream (two chunks enqueued, still open) reader
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (sequential)
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (nested)
- ReadableStream (two chunks enqueued, still open) reader: read() should return distinct promises each time
- ReadableStream (two chunks enqueued, still open) reader: cancel() after a read() should still give that single read result
- Running templatedRSTwoChunksClosedReader with ReadableStream (two chunks enqueued, then closed) reader
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (sequential)
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (nested)
- ReadableStream (two chunks enqueued, then closed) reader: draining the stream via read() should cause the reader closed promise to fulfill, but locked stays true
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock after the stream is closed should cause locked to become false
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (two chunks enqueued, then closed) reader: reader's closed property always returns the same promise
- Running templatedRSThrowAfterCloseOrError with ReadableStream
- ReadableStream: enqueue() throws after close()
- ReadableStream: enqueue() throws after enqueue() and close()
- ReadableStream: enqueue() throws after error()
- ReadableStream: close() throws after error()
/streams/readable-streams/templated.any.worker.html OK 91 / 91
91 passing subtests
- Running templatedRSEmpty with ReadableStream (empty)
- ReadableStream (empty): instances have the correct methods and properties
- ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors
- Running templatedRSEmptyReader with ReadableStream (empty) reader
- ReadableStream (empty) reader: instances have the correct methods and properties
- ReadableStream (empty) reader: locked should be true
- ReadableStream (empty) reader: read() should never settle
- ReadableStream (empty) reader: two read()s should both never settle
- ReadableStream (empty) reader: read() should return distinct promises each time
- ReadableStream (empty) reader: getReader() again on the stream should fail
- ReadableStream (empty) reader: releasing the lock should reject all pending read requests
- ReadableStream (empty) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause closed calls to reject with a TypeError
- ReadableStream (empty) reader: releasing the lock should cause locked to become false
- ReadableStream (empty) reader: canceling via the reader should cause the reader to act closed
- ReadableStream (empty) reader: canceling via the stream should fail
- Running templatedRSClosed with ReadableStream (closed via call in start)
- ReadableStream (closed via call in start): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via call in start): locked should be false
- ReadableStream (closed via call in start): getReader() should be OK
- ReadableStream (closed via call in start): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via call in start): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed before getting reader)
- ReadableStream reader (closed before getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed before getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed before getting reader): closed should fulfill with undefined
- ReadableStream reader (closed before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed before getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosedReader with ReadableStream reader (closed after getting reader)
- ReadableStream reader (closed after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSClosed with ReadableStream (closed via cancel)
- ReadableStream (closed via cancel): cancel() should return a distinct fulfilled promise each time
- ReadableStream (closed via cancel): locked should be false
- ReadableStream (closed via cancel): getReader() should be OK
- ReadableStream (closed via cancel): should be able to acquire multiple readers if they are released in succession
- ReadableStream (closed via cancel): should not be able to acquire a second reader if we don't release the first one
- Running templatedRSClosedReader with ReadableStream reader (closed via cancel after getting reader)
- ReadableStream reader (closed via cancel after getting reader): read() should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() multiple times should fulfill with { value: undefined, done: true }
- ReadableStream reader (closed via cancel after getting reader): read() should work when used within another read() fulfill callback
- ReadableStream reader (closed via cancel after getting reader): closed should fulfill with undefined
- ReadableStream reader (closed via cancel after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (closed via cancel after getting reader): cancel() should return a distinct fulfilled promise each time
- Running templatedRSErrored with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): getReader() should return a reader that acts errored
- ReadableStream (errored via call in start): read() twice should give the error each time
- ReadableStream (errored via call in start): locked should be false
- Running templatedRSErroredSyncOnly with ReadableStream (errored via call in start)
- ReadableStream (errored via call in start): should be able to obtain a second reader, with the correct closed promise
- ReadableStream (errored via call in start): should not be able to obtain additional readers if we don't release the first lock
- ReadableStream (errored via call in start): cancel() should return a distinct rejected promise each time
- ReadableStream (errored via call in start): reader cancel() should return a distinct rejected promise each time
- Running templatedRSErrored with ReadableStream (errored via returning a rejected promise in start)
- ReadableStream (errored via returning a rejected promise in start): getReader() should return a reader that acts errored
- ReadableStream (errored via returning a rejected promise in start): read() twice should give the error each time
- ReadableStream (errored via returning a rejected promise in start): locked should be false
- Running templatedRSErroredReader with ReadableStream (errored via returning a rejected promise in start) reader
- ReadableStream (errored via returning a rejected promise in start) reader: closed should reject with the error
- ReadableStream (errored via returning a rejected promise in start) reader: releasing the lock should cause closed to reject and change identity
- ReadableStream (errored via returning a rejected promise in start) reader: read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored before getting reader)
- ReadableStream reader (errored before getting reader): closed should reject with the error
- ReadableStream reader (errored before getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored before getting reader): read() should reject with the error
- Running templatedRSErroredReader with ReadableStream reader (errored after getting reader)
- ReadableStream reader (errored after getting reader): closed should reject with the error
- ReadableStream reader (errored after getting reader): releasing the lock should cause closed to reject and change identity
- ReadableStream reader (errored after getting reader): read() should reject with the error
- Running templatedRSTwoChunksOpenReader with ReadableStream (two chunks enqueued, still open) reader
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (sequential)
- ReadableStream (two chunks enqueued, still open) reader: calling read() twice without waiting will eventually give both chunks (nested)
- ReadableStream (two chunks enqueued, still open) reader: read() should return distinct promises each time
- ReadableStream (two chunks enqueued, still open) reader: cancel() after a read() should still give that single read result
- Running templatedRSTwoChunksClosedReader with ReadableStream (two chunks enqueued, then closed) reader
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (sequential)
- ReadableStream (two chunks enqueued, then closed) reader: third read(), without waiting, should give { value: undefined, done: true } (nested)
- ReadableStream (two chunks enqueued, then closed) reader: draining the stream via read() should cause the reader closed promise to fulfill, but locked stays true
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock after the stream is closed should cause locked to become false
- ReadableStream (two chunks enqueued, then closed) reader: releasing the lock should cause further read() calls to reject with a TypeError
- ReadableStream (two chunks enqueued, then closed) reader: reader's closed property always returns the same promise
- Running templatedRSThrowAfterCloseOrError with ReadableStream
- ReadableStream: enqueue() throws after close()
- ReadableStream: enqueue() throws after enqueue() and close()
- ReadableStream: enqueue() throws after error()
- ReadableStream: close() throws after error()