summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js11
-rw-r--r--js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js1
3 files changed, 8 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js
index c3b17bdc55..7a40029267 100644
--- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js
+++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js
@@ -21,10 +21,11 @@ includes: [propertyHelper.js]
features: [TypedArray]
---*/
-assert.sameValue(Uint8Array.name, "Uint8Array");
-
-verifyNotEnumerable(Uint8Array, "name");
-verifyNotWritable(Uint8Array, "name");
-verifyConfigurable(Uint8Array, "name");
+verifyProperty(Uint8Array, "name", {
+ value: "Uint8Array",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js
index 4549c9c5c4..2fa2b3f5f3 100644
--- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js
+++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/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/Uint8Array/prototype/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js
index 780a41c80d..8e48ff4a01 100644
--- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js
+++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/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.