diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array')
3 files changed, 8 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/name.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/name.js index 188718a488..d7e0bff6ab 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/name.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/name.js @@ -21,10 +21,11 @@ includes: [propertyHelper.js] features: [TypedArray] ---*/ -assert.sameValue(Int16Array.name, "Int16Array"); - -verifyNotEnumerable(Int16Array, "name"); -verifyNotWritable(Int16Array, "name"); -verifyConfigurable(Int16Array, "name"); +verifyProperty(Int16Array, "name", { + value: "Int16Array", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/proto.js index cd1a83901c..8cf0d45b6a 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/proto.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/proto.js @@ -1,3 +1,4 @@ +// |reftest| shell-option(--enable-float16array) // Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype/proto.js index 99a478232b..6e7dbe73b1 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype/proto.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype/proto.js @@ -1,3 +1,4 @@ +// |reftest| shell-option(--enable-float16array) // Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. |