Skip to content
Snippets Groups Projects
user avatar
Daniel Ehrenberg authored
Bug was reported by @anba at
https://github.com/tc39/ecma262/pull/852#issuecomment-291781031

Without this change, you'd expect a RangeError rather than a TypeError.
2878106c
History
Name Last commit Last update
..
Float32Array
Float64Array
Int16Array
Int32Array
Int8Array
Uint16Array
Uint32Array
Uint8Array
Uint8ClampedArray
from
internals
of
prototype
buffer-arg-bufferbyteoffset-throws-from-modulo-element-size-sab.js
buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js
buffer-arg-byteoffset-is-negative-throws-sab.js
buffer-arg-byteoffset-is-negative-throws.js
buffer-arg-byteoffset-is-negative-zero-sab.js
buffer-arg-byteoffset-is-negative-zero.js
buffer-arg-byteoffset-is-symbol-throws-sab.js
buffer-arg-byteoffset-is-symbol-throws.js
buffer-arg-byteoffset-throws-from-modulo-element-size-sab.js
buffer-arg-byteoffset-throws-from-modulo-element-size.js
buffer-arg-byteoffset-to-number-detachbuffer.js
buffer-arg-byteoffset-to-number-throws-sab.js
buffer-arg-byteoffset-to-number-throws.js
buffer-arg-custom-proto-access-throws-sab.js
buffer-arg-custom-proto-access-throws.js
buffer-arg-defined-length-and-offset-sab.js
buffer-arg-defined-length-and-offset.js
buffer-arg-defined-length-sab.js
buffer-arg-defined-length.js
buffer-arg-defined-negative-length-sab.js
buffer-arg-defined-negative-length.js
buffer-arg-defined-offset-sab.js
buffer-arg-defined-offset.js
buffer-arg-detachedbuffer.js
buffer-arg-excessive-length-throws-sab.js
buffer-arg-excessive-length-throws.js
buffer-arg-excessive-offset-throws-sab.js
buffer-arg-excessive-offset-throws.js
buffer-arg-invoked-with-undefined-newtarget-sab.js
buffer-arg-invoked-with-undefined-newtarget.js
buffer-arg-is-referenced-sab.js
buffer-arg-is-referenced.js
buffer-arg-length-access-throws-sab.js
buffer-arg-length-access-throws.js
buffer-arg-length-is-symbol-throws-sab.js
buffer-arg-length-is-symbol-throws.js
buffer-arg-length-to-number-detachbuffer.js
buffer-arg-new-instance-extensibility-sab.js
buffer-arg-new-instance-extensibility.js
buffer-arg-proto-from-ctor-realm-sab.js
buffer-arg-proto-from-ctor-realm.js
buffer-arg-returns-new-instance-sab.js
buffer-arg-returns-new-instance.js
buffer-arg-toindex-bytelength-sab.js
buffer-arg-toindex-bytelength.js
buffer-arg-toindex-byteoffset-sab.js
buffer-arg-toindex-byteoffset.js
buffer-arg-typedarray-backed-by-sharedarraybuffer.js
buffer-arg-use-custom-proto-if-object-sab.js
buffer-arg-use-custom-proto-if-object.js
buffer-arg-use-default-proto-if-custom-proto-is-not-object-sab.js
buffer-arg-use-default-proto-if-custom-proto-is-not-object.js
length-arg-custom-proto-access-throws.js
length-arg-init-zeros.js
length-arg-is-infinity-throws-rangeerror.js
length-arg-is-negative-integer-throws-rangeerror.js
length-arg-is-symbol-throws.js
length-arg-new-instance-extensibility.js
length-arg-proto-from-ctor-realm.js
length-arg-returns-object.js
length-arg-toindex-length.js
length-arg-undefined-newtarget-throws.js
length-arg-use-custom-proto-if-object.js
length-arg-use-default-proto-if-custom-proto-is-not-object.js
no-args-custom-proto-access-throws.js
no-args-new-instance-extensibility.js
no-args-proto-from-ctor-realm.js
no-args-returns-object.js
no-args-undefined-newtarget-throws.js
no-args-use-custom-proto-if-object.js
no-args-use-default-proto-if-custom-proto-is-not-object.js
object-arg-as-array-returns.js
object-arg-as-generator-iterable-returns.js
object-arg-conversion-operation-consistent-nan.js
object-arg-conversion-operation.js
object-arg-custom-proto-access-throws.js
object-arg-iterating-throws.js
object-arg-iterator-not-callable-throws.js
object-arg-iterator-throws.js
object-arg-length-excessive-throws.js
object-arg-length-is-symbol-throws.js
object-arg-length-throws.js
object-arg-new-instance-extensibility.js
object-arg-proto-from-ctor-realm.js
object-arg-returns.js
object-arg-throws-from-property.js
object-arg-throws-setting-obj-to-primitive-typeerror.js