summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArrayConstructors/Int32Array/prototype/proto.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/Int32Array/prototype/proto.js')
-rw-r--r--js/src/tests/test262/built-ins/TypedArrayConstructors/Int32Array/prototype/proto.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Int32Array/prototype/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int32Array/prototype/proto.js
new file mode 100644
index 0000000000..cdec27c587
--- /dev/null
+++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Int32Array/prototype/proto.js
@@ -0,0 +1,17 @@
+// Copyright (C) 2015 André Bargull. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-properties-of-typedarray-prototype-objects
+description: >
+ The prototype of Int32Array.prototype is %TypedArrayPrototype%.
+info: |
+ The value of the [[Prototype]] internal slot of a TypedArray prototype
+ object is the intrinsic object %TypedArrayPrototype% (22.2.3).
+includes: [testTypedArray.js]
+features: [TypedArray]
+---*/
+
+assert.sameValue(Object.getPrototypeOf(Int32Array.prototype), TypedArray.prototype);
+
+reportCompare(0, 0);