JSC testing should have complete coverage over typed array types
https://bugs.webkit.org/show_bug.cgi?id=84302
Source/JavaScriptCore:
Reviewed by Geoff Garen.
Added Uint8ClampedArray to the set of typed arrays that are supported by jsc
command-line.
(JSC):
(GlobalObject::finishCreation):
Tools:
Reviewed by Geoff Garen.
Made run-fast-jsc print something and a newline if jsc threw an exception or
otherwise returned with an error code, but did not crash.
LayoutTests:
Reviewed by Geoff Garen.
Added tests for uint8 and uint16 arrays. Added a test for uint32 arrays that
does not focus entirely on overflow values.
Also added the typed array tests to the repertoire that can be run by
run-fast-jsc.
- fast/js/dfg-int16array-expected.txt:
- fast/js/dfg-int8array-expected.txt:
- fast/js/dfg-uint16array-expected.txt: Added.
- fast/js/dfg-uint16array.html: Added.
- fast/js/dfg-uint32array-expected.txt: Added.
- fast/js/dfg-uint32array.html: Added.
- fast/js/dfg-uint8array-expected.txt: Added.
- fast/js/dfg-uint8array.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-int16array.js:
- fast/js/script-tests/dfg-int8array.js:
- fast/js/script-tests/dfg-uint16array.js: Added.
(getter1):
(setter1):
(getter2):
(setter2):
(getter3):
(setter3):
(getter4):
(setter4):
(getters.getter1.a):
(.a):
(setters.setter1.a):
(safeGetter):
(safeSetter):
- fast/js/script-tests/dfg-uint32array.js: Added.
(getter1):
(setter1):
(getter2):
(setter2):
(getter3):
(setter3):
(getter4):
(setter4):
(getters.getter1.a):
(.a):
(setters.setter1.a):
(safeGetter):
(safeSetter):
- fast/js/script-tests/dfg-uint8array.js: Added.
(getter1):
(setter1):
(getter2):
(setter2):
(getter3):
(setter3):
(getter4):
(setter4):
(getters.getter1.a):
(.a):
(setters.setter1.a):
(safeGetter):
(safeSetter):