-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for _TypedArray_ constructors #485
Conversation
object has an [[ArrayBufferData]] internal slot. | ||
|
||
... | ||
9. If offset modulo elementSize ≠ 0, throw a RangeError exception. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually step 10 (the danger of tracking a moving target)
Hey Leo! I've left some specific notes as in-line comments on this pull request, but I
|
65198d2
to
004460b
Compare
They already are, at least they're easier to find after the renaming.
that's a good one!
It might be covered on some of the
I hope you like it now. I have to say it was way easier for me to browser the files after this change.
Maybe I should still improve it, but I got some changes regarding this. Thanks for the review, @jugglinmike! It's ready for another (final?) round. |
The negative zero tests is already covered in https://github.com/tc39/test262/blob/master/test/built-ins/TypedArray/negative-zero-byteoffset.js |
@anba you're right, I was trying to find them on the TypedArrays folder. I'm removing this last commit. |
c7ac8aa
to
0a30413
Compare
Please feel free to move the file into the TypedArrays folder. IIRC I've added that test before the ES2016 typed array constructor changes. |
Add tests for _TypedArray_ constructors
Thanks @leobalter |
No description provided.