/streams/readable-byte-streams/general.any.html| status | subtest | message |
|---|---|---|
| PASS | getReader({mode: "byob"}) throws on non-bytes streams | |
| PASS | ReadableStream with byte source can be constructed with no errors | |
| PASS | getReader({mode}) must perform ToString() | |
| PASS | ReadableStream with byte source: Construct and expect start and pull being called | |
| PASS | ReadableStream with byte source: No automatic pull call if start doesn't finish | |
| FAIL | ReadableStream with byte source: start() throws an exception | assert_throws_js: start() can throw an exception with type: bytes function "() => new ReadableStream({ start() { throw new Error(); }, type:'bytes' })" did not throw |
| PASS | ReadableStream with byte source: Construct with highWaterMark of 0 | |
| PASS | ReadableStream with byte source: desiredSize when closed | |
| PASS | ReadableStream with byte source: desiredSize when errored | |
| PASS | ReadableStream with byte source: getReader(), then releaseLock() | |
| PASS | ReadableStream with byte source: getReader() with mode set to byob, then releaseLock() | |
| PASS | ReadableStream with byte source: Test that closing a stream does not release a reader automatically | |
| PASS | ReadableStream with byte source: Test that closing a stream does not release a BYOB reader automatically | |
| PASS | ReadableStream with byte source: Test that erroring a stream does not release a reader automatically | |
| PASS | ReadableStream with byte source: Test that erroring a stream does not release a BYOB reader automatically | |
| PASS | ReadableStream with byte source: cannot use an already-released BYOB reader to unlock a stream again | |
| PASS | ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader must reject pending read() | |
| PASS | ReadableStream with byte source: releaseLock() on ReadableStreamBYOBReader must reject pending read() | |
| FAIL | ReadableStream with byte source: Automatic pull() after start() | assert_equals: No pull as start() just finished and is not yet reflected to the state of the stream expected 0 but got 1 |
| FAIL | ReadableStream with byte source: Automatic pull() after start() and read() | assert_equals: No pull as start() just finished and is not yet reflected to the state of the stream expected 0 but got 1 |
| FAIL | ReadableStream with byte source: autoAllocateChunkSize | assert_equals: No pull() as start() just finished and is not yet reflected to the state of the stream expected 0 but got 1 |
| PASS | ReadableStream with byte source: Mix of auto allocate and BYOB | |
| FAIL | ReadableStream with byte source: Automatic pull() after start() and read(view) | assert_equals: No pull as start() just finished and is not yet reflected to the state of the stream expected 0 but got 1 |
| FAIL | ReadableStream with byte source: enqueue(), getReader(), then read() | assert_equals: The first pull() should be made on read() expected 1 but got 0 |
| FAIL | ReadableStream with byte source: Push source that doesn't understand pull signal | assert_equals: expected 1 but got 4096 |
| PASS | ReadableStream with byte source: pull() function is not callable | |
| FAIL | ReadableStream with byte source: enqueue() with Uint16Array, getReader(), then read() | assert_equals: expected 32 but got 4096 |
| FAIL | ReadableStream with byte source: enqueue(), read(view) partially, then read() | assert_equals: value.buffer.byteLength expected 16 but got 4096 |
| PASS | ReadableStream with byte source: getReader(), enqueue(), close(), then read() | |
| PASS | ReadableStream with byte source: enqueue(), close(), getReader(), then read() | |
| PASS | ReadableStream with byte source: Respond to pull() by enqueue() | |
| FAIL | ReadableStream with byte source: Respond to pull() by enqueue() asynchronously | assert_equals: pullCount after the enqueue() outside pull expected 0 but got 1 |
| FAIL | ReadableStream with byte source: Respond to multiple pull() by separate enqueue() | assert_equals: No pull as start() just finished and is not yet reflected to the state of the stream expected 0 but got 1 |
| PASS | ReadableStream with byte source: read(view), then respond() | |
| PASS | ReadableStream with byte source: read(view), then respondWithNewView() with a transferred ArrayBuffer | |
| PASS | ReadableStream with byte source: read(view), then respond() with too big value | |
| PASS | ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array enqueues the 1 byte remainder | |
| PASS | ReadableStream with byte source: respond(3) to read(view) with 2 element Uint16Array fulfills second read(view) with the 1 byte remainder | |
| PASS | ReadableStream with byte source: enqueue(), getReader(), then read(view) | |
| PASS | ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = not BYOB) | |
| PASS | ReadableStream with byte source: enqueue(), getReader(), then cancel() (mode = BYOB) | |
| FAIL | ReadableStream with byte source: getReader(), read(view), then cancel() | assert_unreached: pull() should not be called Reached unreachable code |
| FAIL | ReadableStream with byte source: cancel() with partially filled pending pull() request | assert_equals: 1 pull() should have been made in response to partial fill by enqueue() expected 1 but got 0 |
| PASS | ReadableStream with byte source: enqueue(), getReader(), then read(view) where view.buffer is not fully covered by view | |
| PASS | ReadableStream with byte source: Multiple enqueue(), getReader(), then read(view) | |
| PASS | ReadableStream with byte source: enqueue(), getReader(), then read(view) with a bigger view | |
| PASS | ReadableStream with byte source: enqueue(), getReader(), then read(view) with smaller views | |
| PASS | ReadableStream with byte source: enqueue() 1 byte, getReader(), then read(view) with Uint16Array | |
| FAIL | ReadableStream with byte source: enqueue() 3 byte, getReader(), then read(view) with 2-element Uint16Array | assert_equals: desiredSize should be zero expected 0 but got -1 |
| FAIL | ReadableStream with byte source: read(view) with Uint16Array on close()-d stream with 1 byte enqueue()-d must fail | assert_unreached: Should have rejected: read(view) must fail Reached unreachable code |
| FAIL | ReadableStream with byte source: A stream must be errored if close()-d before fulfilling read(view) with Uint16Array | assert_unreached: pull() should not be called Reached unreachable code |
| PASS | ReadableStream with byte source: Throw if close()-ed more than once | |
| PASS | ReadableStream with byte source: Throw on enqueue() after close() | |
| FAIL | ReadableStream with byte source: read(view), then respond() and close() in pull() | assert_equals: expected 0 but got 16 |
| PASS | ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple respond() calls | |
| FAIL | ReadableStream with byte source: read(view) with Uint32Array, then fill it by multiple enqueue() calls | promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'view')" |
| FAIL | ReadableStream with byte source: read() twice, then enqueue() twice | assert_equals: No pull should have been made since the startPromise has not yet been handled expected 0 but got 1 |
| FAIL | ReadableStream with byte source: Multiple read(view), close() and respond() | assert_unreached: pull() should not be called Reached unreachable code |
| FAIL | ReadableStream with byte source: Multiple read(view), big enqueue() | assert_unreached: pull() should not be called Reached unreachable code |
| FAIL | ReadableStream with byte source: Multiple read(view) and multiple enqueue() | assert_unreached: pull() should not be called Reached unreachable code |
| PASS | ReadableStream with byte source: read(view) with passing undefined as view must fail | |
| PASS | ReadableStream with byte source: read(view) with passing an empty object as view must fail | |
| PASS | ReadableStream with byte source: Even read(view) with passing ArrayBufferView like object as view must fail | |
| PASS | ReadableStream with byte source: read() on an errored stream | |
| PASS | ReadableStream with byte source: read(), then error() | |
| PASS | ReadableStream with byte source: read(view) on an errored stream | |
| PASS | ReadableStream with byte source: read(view), then error() | |
| FAIL | ReadableStream with byte source: Throwing in pull function must error the stream | assert_equals: byobRequest must be null expected null but got object "[object ReadableStreamBYOBRequest]" |
| FAIL | ReadableStream with byte source: Throwing in pull in response to read() must be ignored if the stream is errored in it | assert_equals: byobRequest must be null expected null but got object "[object ReadableStreamBYOBRequest]" |
| PASS | ReadableStream with byte source: Throwing in pull in response to read(view) function must error the stream | |
| PASS | ReadableStream with byte source: Throwing in pull in response to read(view) must be ignored if the stream is errored in it | |
| PASS | calling respond() twice on the same byobRequest should throw | |
| PASS | calling respondWithNewView() twice on the same byobRequest should throw | |
| PASS | calling respond(0) twice on the same byobRequest should throw even when closed | |
| PASS | calling respond() should throw when canceled | |
| PASS | pull() resolving should not resolve read() | |
| PASS | ReadableStream with byte source: default reader + autoAllocateChunkSize + byobRequest interaction | |
| PASS | ReadableStream with byte source: autoAllocateChunkSize cannot be 0 | |
| PASS | ReadableStreamBYOBReader can be constructed directly | |
| PASS | ReadableStreamBYOBReader constructor requires a ReadableStream argument | |
| PASS | ReadableStreamBYOBReader constructor requires an unlocked ReadableStream | |
| PASS | ReadableStreamBYOBReader constructor requires a ReadableStream with type "bytes" | |
| FAIL | ReadableStream constructor should not accept a strategy with a size defined if type is "bytes" | assert_throws_js: constructor should throw for size function function "() => new ReadableStream({ type: 'bytes' }, { size() { return 1; } })" did not throw |
| PASS | ReadableStream with byte source: respondWithNewView() with a smaller view | |
| PASS | ReadableStream with byte source: respondWithNewView() with a zero-length view (in the closed state) | |
| PASS | ReadableStream with byte source: respondWithNewView() with a transferred non-zero-length view (in the readable state) | |
| PASS | ReadableStream with byte source: respondWithNewView() with a transferred zero-length view (in the closed state) | |
| FAIL | ReadableStream with byte source: enqueue() discards auto-allocated BYOB request | assert_array_equals: first result.value.buffer lengths differ, expected array [1, 2, 3] length 3, got [1, 2, 3, 0, 0, 0, 0, 0, 0, 0] length 10 |
| FAIL | ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, respond() | assert_equals: byobRequest should be null after respond() expected null but got object "[object ReadableStreamBYOBRequest]" |
| FAIL | ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader with 1 element Uint16Array, respond(1) | assert_equals: second byobRequest.view byteOffset expected 1 but got 0 |
| FAIL | ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader with 2 element Uint8Array, respond(3) | assert_equals: byobRequest should be null after respond() expected null but got object "[object ReadableStreamBYOBRequest]" |
| FAIL | ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, respondWithNewView() | assert_equals: byobRequest should be null after respondWithNewView() expected null but got object "[object ReadableStreamBYOBRequest]" |
| PASS | ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, enqueue() | |
| PASS | ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, close(), respond(0) | |
| FAIL | ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read() on second reader, respond() | assert_equals: byobRequest should be null after respond() expected null but got object "[object ReadableStreamBYOBRequest]" |
| FAIL | ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read() on second reader, enqueue() | assert_equals: second result.value buffer.byteLength expected 1 but got 4 |
| FAIL | ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read(view) on second reader, respond() | assert_equals: byobRequest should be null after respond() expected null but got object "[object ReadableStreamBYOBRequest]" |
| PASS | ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read(view) on second reader, enqueue() | |
| FAIL | ReadableStream with byte source: read(view) with 1 element Uint16Array, respond(1), releaseLock(), read(view) on second reader with 1 element Uint16Array, respond(1) | assert_equals: byobRequest should be invalidated after second respond() expected null but got object "[object ReadableStreamBYOBRequest]" |
| FAIL | ReadableStream with byte source: read(view) with 1 element Uint16Array, respond(1), releaseLock(), read() on second reader, enqueue() | assert_equals: second result.value buffer.byteLength expected 1 but got 4096 |
| PASS | ReadableStream with byte source: autoAllocateChunkSize, read(), respondWithNewView() |
bundle built 2026-07-16T07:16:48.063Z