blob: 339d13c594712f32b8151ab7a53e2854daf75db7 [file] [log] [blame]
commit-queue@webkit.org65fb5672017-02-20 18:18:06 +00001
darin@apple.com7e0d0b92020-09-27 02:15:19 +00002PASS By default, byobRequest should be undefined
3PASS byobRequest.view length should be equal to autoAllocateChunkSize
4PASS Calling respond() with a this object different from ReadableStreamBYOBRequest should throw a TypeError
5PASS Calling respond() with a negative bytesWritten value should throw a RangeError
6PASS Calling respond() with a bytesWritten value which is not a number should throw a RangeError
7PASS Calling respond() with a positive infinity bytesWritten value should throw a RangeError
8PASS Calling respond() with a bytesWritten value different from 0 when stream is closed should throw a TypeError
9PASS Calling respond() with a bytesWritten value of 0 when stream is closed should succeed
10PASS Calling respond() with a bytesWritten value greater than autoAllocateChunkSize should fail
11PASS Calling respond() with a bytesWritten value lower than autoAllocateChunkSize should succeed
12PASS Calling respondWithNewView() with a this object different from ReadableStreamBYOBRequest should throw a TypeError
13PASS Calling respondWithNewView() with an argument that is not an object should throw a TypeError
14PASS Calling respondWithNewView() with an argument that is not an ArrayBufferView should throw a TypeError
15PASS When using autoAllocateChunkSize, calling respondWithNewView() should succeed if view.byteLength is equal to autoAllocateChunkSize
16PASS When using autoAllocateChunkSize, calling respondWithNewView() should throw a RangeError if view.byteOffset is different from 0
17PASS When using autoAllocateChunkSize, calling respondWithNewView() should throw a RangeError if view.byteLength is different from autoAllocateChunkSize
commit-queue@webkit.org65fb5672017-02-20 18:18:06 +000018