/streams/readable-byte-streams/read-min.any.html| status | subtest | message |
|---|---|---|
| PASS | ReadableStream with byte source: read({ min }) rejects if min is 0 | |
| PASS | ReadableStream with byte source: read({ min }) rejects if min is negative | |
| FAIL | ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array) | promise_rejects_js: function "function() { throw e; }" threw object "TypeError: Minimum bytes to read (2) exceeds size of buffer (1)." ("TypeError") expected instance of function "function RangeError(… |
| FAIL | ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array) | promise_rejects_js: function "function() { throw e; }" threw object "TypeError: Minimum bytes to read (4) exceeds size of buffer (2)." ("TypeError") expected instance of function "function RangeError(… |
| FAIL | ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView) | promise_rejects_js: function "function() { throw e; }" threw object "TypeError: Minimum bytes to read (2) exceeds size of buffer (1)." ("TypeError") expected instance of function "function RangeError(… |
| PASS | ReadableStream with byte source: read({ min }), then read() | |
| PASS | ReadableStream with byte source: read({ min }) with a DataView | |
| PASS | ReadableStream with byte source: enqueue(), then read({ min }) | |
| FAIL | ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes | Cannot read properties of null (reading 'view') |
| FAIL | ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes | Cannot read properties of null (reading 'view') |
| FAIL | ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes | Cannot read properties of null (reading 'view') |
| FAIL | ReadableStream with byte source: enqueue(), read({ min }) partially, then read() | assert_equals: result2.value.buffer.byteLength expected 16 but got 4096 |
| PASS | ReadableStream with byte source: read({ min }), then respondWithNewView() with a transferred ArrayBuffer | |
| FAIL | ReadableStream with byte source: read({ min }) on a closed stream | assert_equals: result.value byteOffset expected 0 but got 1 |
| FAIL | ReadableStream with byte source: read({ min }) when closed before view is filled | assert_true: result.done expected true got false |
| PASS | ReadableStream with byte source: read({ min }) when closed immediately after view is filled | |
| PASS | ReadableStream with byte source: read({ min }) on an errored stream | |
| PASS | ReadableStream with byte source: read({ min }), then error() | |
| FAIL | ReadableStream with byte source: getReader(), read({ min }), then cancel() | assert_unreached: pull() should not be called Reached unreachable code |
| FAIL | ReadableStream with byte source: cancel() with partially filled pending read({ min }) request | assert_true: result.done expected true got false |
| PASS | ReadableStream with byte source: enqueue(), then read({ min }) with smaller views | |
| FAIL | ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail | promise_rejects_js: read() must fail function "function() { throw e; }" threw object "Error: internal error; reference = kqsurm9m3qhi5u1un2t47ags" ("Error") expected instance of function "function Typ… |
| FAIL | ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail | assert_unreached: pull() should not be called Reached unreachable code |
| PASS | ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2 |
bundle built 2026-07-16T07:16:48.063Z