-
- Downloads
Merge pull request #926 from littledan/typedarray-constructor-edge-case
* Tests for throwing a TypeError in the TypedArray constructor on a detached buffer Detached buffer causes an exception - If it's already detached going into the constructor - If the byteOffset coercion causes it to be detached Tests are valid in ES2017 * Test that TypedArray constructor throws when detaching buffer in length calculation This test is only valid with the PR in https://github.com/tc39/ecma262/pull/852 * Rename files per review
Showing
- test/built-ins/TypedArrays/buffer-arg-byteoffset-to-number-detachbuffer.js 20 additions, 0 deletions...pedArrays/buffer-arg-byteoffset-to-number-detachbuffer.js
- test/built-ins/TypedArrays/buffer-arg-detachedbuffer.js 20 additions, 0 deletionstest/built-ins/TypedArrays/buffer-arg-detachedbuffer.js
- test/built-ins/TypedArrays/buffer-arg-length-to-number-detachbuffer.js 20 additions, 0 deletions...s/TypedArrays/buffer-arg-length-to-number-detachbuffer.js
Loading
Please register or sign in to comment