summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.js')
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.js b/js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.js
index 0065064c4f..1378804fb3 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/slice/name.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.
@@ -20,10 +21,11 @@ includes: [propertyHelper.js, testTypedArray.js]
features: [TypedArray]
---*/
-assert.sameValue(TypedArray.prototype.slice.name, "slice");
-
-verifyNotEnumerable(TypedArray.prototype.slice, "name");
-verifyNotWritable(TypedArray.prototype.slice, "name");
-verifyConfigurable(TypedArray.prototype.slice, "name");
+verifyProperty(TypedArray.prototype.slice, "name", {
+ value: "slice",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);