summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/Uint16Array/prototype.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArrays/Uint16Array/prototype.js')
-rwxr-xr-xtest/built-ins/TypedArrays/Uint16Array/prototype.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/built-ins/TypedArrays/Uint16Array/prototype.js b/test/built-ins/TypedArrays/Uint16Array/prototype.js
new file mode 100755
index 000000000..0decd7356
--- /dev/null
+++ b/test/built-ins/TypedArrays/Uint16Array/prototype.js
@@ -0,0 +1,19 @@
+// Copyright (C) 2015 André Bargull. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es6id: 22.2.5.2
+description: >
+ The initial value of Uint16Array.prototype is the Uint16Array prototype object.
+info: >
+ The initial value of TypedArray.prototype is the corresponding TypedArray prototype intrinsic object (22.2.6).
+
+ This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
+includes: [propertyHelper.js]
+---*/
+
+assert.sameValue(Uint16Array.prototype, Object.getPrototypeOf(new Uint16Array(0)));
+
+verifyNotEnumerable(Uint16Array, "prototype");
+verifyNotWritable(Uint16Array, "prototype");
+verifyNotConfigurable(Uint16Array, "prototype");