diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array')
3 files changed, 8 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/name.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/name.js index 35e59e9927..2614815c6b 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/name.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/name.js @@ -21,10 +21,11 @@ includes: [propertyHelper.js] features: [TypedArray] ---*/ -assert.sameValue(Uint16Array.name, "Uint16Array"); - -verifyNotEnumerable(Uint16Array, "name"); -verifyNotWritable(Uint16Array, "name"); -verifyConfigurable(Uint16Array, "name"); +verifyProperty(Uint16Array, "name", { + value: "Uint16Array", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/proto.js index 1926d6eefe..58e501192e 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/proto.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/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/Uint16Array/prototype/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/prototype/proto.js index b28264d2f9..76ce25bdc1 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/prototype/proto.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint16Array/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. |