diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/Float32Array/prototype.js')
-rw-r--r-- | js/src/tests/test262/built-ins/TypedArrayConstructors/Float32Array/prototype.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Float32Array/prototype.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Float32Array/prototype.js new file mode 100644 index 0000000000..e350f7215f --- /dev/null +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Float32Array/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 Float32Array.prototype is the Float32Array 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(Float32Array.prototype, Object.getPrototypeOf(new Float32Array(0))); + +verifyNotEnumerable(Float32Array, "prototype"); +verifyNotWritable(Float32Array, "prototype"); +verifyNotConfigurable(Float32Array, "prototype"); + +reportCompare(0, 0); |