test262/test/built-ins/TypedArrays
jugglinmike b17ffc0298 Add tests for NaN handling with Typed Arrays (#623)
Ensure that NaN values are canonicalized consistently by all invocations
of SetValueInBuffer. Also ensure that `%TypedArray%.prototype.set` and
`%TypedArray%.prototype.slice` preserve the bit-level encoding of the
source data.

Use a set of experimentally-derived expressions known to produce NaN
values with distinct bit patterns in various platforms.
2016-05-12 10:16:03 -04:00
..
Float32Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Float64Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Int8Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Int16Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Int32Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Uint8Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Uint8ClampedArray Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Uint16Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
Uint32Array Add tests for TypedArrays constructors 2016-02-05 11:53:32 -02:00
from Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
internals Add tests for NaN handling with Typed Arrays (#623) 2016-05-12 10:16:03 -04:00
of s/id/esid 2016-02-22 09:47:42 -05:00
prototype Add tests for _TypedArray_.prototype methods 2016-03-01 15:36:34 -05:00
buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-byteoffset-is-negative-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-byteoffset-is-negative-zero.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-byteoffset-is-symbol-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-byteoffset-throws-from-modulo-element-size.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-byteoffset-to-number-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-custom-proto-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-defined-length-and-offset.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-defined-length.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-defined-negative-length.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-defined-offset.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-excessive-length-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-excessive-offset-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-invoked-with-undefined-newtarget.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-is-referenced.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-length-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-length-is-symbol-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-new-instance-extensibility.js Add tests for typedArrays extensibility 2016-04-01 15:34:14 -04:00
buffer-arg-returns-new-instance.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-use-custom-proto-if-object.js s/id/esid 2016-02-22 09:47:42 -05:00
buffer-arg-use-default-proto-if-custom-proto-is-not-object.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-custom-proto-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-float-throws-rangeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-infinity-throws-rangeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-nan-throws-rangeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-negative-number-throws-rangeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-not-valid-buffer-size-throws-rangeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-symbol-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-is-undefined-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-minus-signal-zero.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-new-instance-extensibility.js Add tests for typedArrays extensibility 2016-04-01 15:34:14 -04:00
length-arg-returns-object.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-undefined-newtarget-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-use-custom-proto-if-object.js s/id/esid 2016-02-22 09:47:42 -05:00
length-arg-use-default-proto-if-custom-proto-is-not-object.js s/id/esid 2016-02-22 09:47:42 -05:00
no-args-custom-proto-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
no-args-new-instance-extensibility.js Add tests for typedArrays extensibility 2016-04-01 15:34:14 -04:00
no-args-returns-object.js s/id/esid 2016-02-22 09:47:42 -05:00
no-args-undefined-newtarget-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
no-args-use-custom-proto-if-object.js s/id/esid 2016-02-22 09:47:42 -05:00
no-args-use-default-proto-if-custom-proto-is-not-object.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-as-array-returns.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-as-generator-iterable-returns.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-conversion-operation-consistent-nan.js Add tests for NaN handling with Typed Arrays (#623) 2016-05-12 10:16:03 -04:00
object-arg-conversion-operation.js Add tests for conversion operations on TypedArrays 2016-04-19 12:18:52 -04:00
object-arg-custom-proto-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-iterating-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-iterator-not-callable-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-iterator-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-length-excessive-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-length-is-symbol-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-length-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-new-instance-extensibility.js Add tests for typedArrays extensibility 2016-04-01 15:34:14 -04:00
object-arg-returns.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-from-property.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-obj-to-primitive-typeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-obj-to-primitive.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-obj-tostring.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-obj-valueof-typeerror.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-obj-valueof.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-property.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-throws-setting-symbol-property.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-undefined-newtarget-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-use-custom-proto-if-object.js s/id/esid 2016-02-22 09:47:42 -05:00
object-arg-use-default-proto-if-custom-proto-is-not-object.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-custom-proto-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-new-instance-extensibility.js Add tests for typedArrays extensibility 2016-04-01 15:34:14 -04:00
typedarray-arg-other-ctor-buffer-ctor-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-custom-species.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-not-object-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-species-not-ctor-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-species-null.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-species-prototype-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-buffer-ctor-species-undefined.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-other-ctor-returns-new-typedarray.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-returns-new-instance.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-access-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-species-custom.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-species-not-ctor.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-species-null.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-species-prototype-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-species-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-species-undefined.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-buffer-ctor-value-not-obj-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-same-ctor-returns-new-cloned-typedarray.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-undefined-newtarget-throws.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-use-custom-proto-if-object.js s/id/esid 2016-02-22 09:47:42 -05:00
typedarray-arg-use-default-proto-if-custom-proto-is-not-object.js s/id/esid 2016-02-22 09:47:42 -05:00