Add regression tests for TypedArray.prototype functions' error messages.
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Oct 2015 18:32:30 +0000 (18:32 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Oct 2015 18:32:30 +0000 (18:32 +0000)
commit86b08d1df11c9efb406a93292b10a4b99bd7616e
tree8812d903a9a5ecacb949a1bafe3909cd513621d4
parentbb94b7252da521a83e6a10d2f452aea38eeb2f29
Add regression tests for TypedArray.prototype functions' error messages.
https://bugs.webkit.org/show_bug.cgi?id=150288

Reviewed by Darin Adler.

Fix a typo in the text passed by TypedArrray.prototype.filter type error message.
Add tests that check the actual error message text for all the TypeArray.prototype
functions that throw.

* builtins/TypedArray.prototype.js:
(filter):
* tests/stress/typedarray-every.js:
* tests/stress/typedarray-filter.js:
* tests/stress/typedarray-find.js:
* tests/stress/typedarray-findIndex.js:
* tests/stress/typedarray-forEach.js:
* tests/stress/typedarray-map.js:
* tests/stress/typedarray-reduce.js:
* tests/stress/typedarray-reduceRight.js:
* tests/stress/typedarray-some.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/builtins/TypedArray.prototype.js
Source/JavaScriptCore/tests/stress/typedarray-every.js
Source/JavaScriptCore/tests/stress/typedarray-filter.js
Source/JavaScriptCore/tests/stress/typedarray-find.js
Source/JavaScriptCore/tests/stress/typedarray-findIndex.js
Source/JavaScriptCore/tests/stress/typedarray-forEach.js
Source/JavaScriptCore/tests/stress/typedarray-map.js
Source/JavaScriptCore/tests/stress/typedarray-reduce.js
Source/JavaScriptCore/tests/stress/typedarray-reduceRight.js
Source/JavaScriptCore/tests/stress/typedarray-some.js