Skip to content
Snippets Groups Projects
Commit 89160ff5 authored by Leo Balter's avatar Leo Balter Committed by GitHub
Browse files

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
parents 184275fb b86b7031
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment