bad-buffers-and-views.any.html

FAILExpected19 of 24 subtests pass400 ms

Details

Test
/streams/readable-byte-streams/bad-buffers-and-views.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSReadableStream with byte source: read()ing from a closed stream still transfers the buffer
PASSReadableStream with byte source: read()ing from a stream with queued chunks still transfers the buffer
PASSReadableStream with byte source: enqueuing an already-detached buffer throws
PASSReadableStream with byte source: enqueuing a zero-length buffer throws
PASSReadableStream with byte source: enqueuing a zero-length view on a non-zero-length buffer throws
PASSReadableStream with byte source: reading into an already-detached buffer rejects
PASSReadableStream with byte source: reading into a zero-length buffer rejects
PASSReadableStream with byte source: reading into a zero-length view on a non-zero-length buffer rejects
PASSReadableStream with byte source: respond() throws if the BYOB request's buffer has been detached (in the readable state)
FAILReadableStream with byte source: respond() throws if the BYOB request's buffer has been detached (in the closed state)
Cannot read properties of null (reading 'view')
Cannot read properties of null (reading 'view')
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the readable state)
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer is zero-length (in the readable state)
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view is zero-length on a non-zero-length buffer (in the readable state)
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view has a different offset (in the readable state)
FAILReadableStream with byte source: respondWithNewView() throws if the supplied view has a different offset (in the closed state)
Cannot read properties of null (reading 'view')
Cannot read properties of null (reading 'view')
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has a different length (in the readable state)
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has a different length (autoAllocateChunkSize)
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view has a larger length (in the readable state)
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has been detached (in the closed state)
FAILReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer is zero-length (in the closed state)
assert_throws_js: function "() => c.byobRequest.respondWithNewView(view)" threw object "TypeError: Cannot read properties of null (reading 'respondWithNewView')" ("TypeError") expected instance of fun…
assert_throws_js: function "() => c.byobRequest.respondWithNewView(view)" threw object "TypeError: Cannot read properties of null (reading 'respondWithNewView')" ("TypeError") expected instance of fun…
PASSReadableStream with byte source: respondWithNewView() throws if the supplied view is non-zero-length (in the closed state)
FAILReadableStream with byte source: respondWithNewView() throws if the supplied view's buffer has a different length (in the closed state)
assert_throws_js: function "() => c.byobRequest.respondWithNewView(view)" threw object "TypeError: Cannot read properties of null (reading 'respondWithNewView')" ("TypeError") expected instance of fun…
assert_throws_js: function "() => c.byobRequest.respondWithNewView(view)" threw object "TypeError: Cannot read properties of null (reading 'respondWithNewView')" ("TypeError") expected instance of fun…
PASSReadableStream with byte source: enqueue() throws if the BYOB request's buffer has been detached (in the readable state)
FAILReadableStream with byte source: enqueue() throws if the BYOB request's buffer has been detached (in the closed state)
Cannot read properties of null (reading 'view')
Cannot read properties of null (reading 'view')