Revision control

1
2
PASS By default, byobRequest should be undefined
3
PASS byobRequest.view length should be equal to autoAllocateChunkSize
4
PASS Calling respond() with a this object different from ReadableStreamBYOBRequest should throw a TypeError
5
PASS Calling respond() with a negative bytesWritten value should throw a RangeError
6
PASS Calling respond() with a bytesWritten value which is not a number should throw a RangeError
7
PASS Calling respond() with a positive infinity bytesWritten value should throw a RangeError
8
PASS Calling respond() with a bytesWritten value different from 0 when stream is closed should throw a TypeError
9
PASS Calling respond() with a bytesWritten value of 0 when stream is closed should succeed
10
PASS Calling respond() with a bytesWritten value greater than autoAllocateChunkSize should fail
11
PASS Calling respond() with a bytesWritten value lower than autoAllocateChunkSize should succeed
12
PASS Calling respondWithNewView() with a this object different from ReadableStreamBYOBRequest should throw a TypeError
13
PASS Calling respondWithNewView() with an argument that is not an object should throw a TypeError
14
PASS Calling respondWithNewView() with an argument that is not an ArrayBufferView should throw a TypeError
15
PASS When using autoAllocateChunkSize, calling respondWithNewView() should succeed if view.byteLength is equal to autoAllocateChunkSize
16
PASS When using autoAllocateChunkSize, calling respondWithNewView() should throw a RangeError if view.byteOffset is different from 0
17
PASS When using autoAllocateChunkSize, calling respondWithNewView() should throw a RangeError if view.byteLength is different from autoAllocateChunkSize
18