diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype.js')
-rw-r--r-- | js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype.js new file mode 100644 index 0000000000..099514e6a8 --- /dev/null +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int16Array/prototype.js @@ -0,0 +1,22 @@ +// Copyright (C) 2015 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-typedarray.prototype +description: > + The initial value of Int16Array.prototype is the Int16Array 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] +features: [TypedArray] +---*/ + +assert.sameValue(Int16Array.prototype, Object.getPrototypeOf(new Int16Array(0))); + +verifyNotEnumerable(Int16Array, "prototype"); +verifyNotWritable(Int16Array, "prototype"); +verifyNotConfigurable(Int16Array, "prototype"); + +reportCompare(0, 0); |