Index: test/mjsunit/get-prototype-of.js |
diff --git a/test/mjsunit/get-prototype-of.js b/test/mjsunit/get-prototype-of.js |
index 95bd157a518ae90643a5045d4e7c0f4f3d27b0a6..47edcb0a771123f03dbd275ccf20a3872f2d58bc 100644 |
--- a/test/mjsunit/get-prototype-of.js |
+++ b/test/mjsunit/get-prototype-of.js |
@@ -82,7 +82,12 @@ |
// DataView, |
Date, |
Error, |
+ Float32Array, |
+ Float64Array, |
Function, |
+ Int16Array, |
+ Int32Array, |
+ Int8Array, |
Map, |
Number, |
Object, |
@@ -91,6 +96,10 @@ |
Set, |
String, |
// Symbol, not constructible |
+ Uint16Array, |
+ Uint32Array, |
+ Uint8Array, |
+ Uint8ClampedArray, |
WeakMap, |
WeakSet, |
]; |
@@ -100,23 +109,6 @@ |
assertPrototypeOf(new f(), f.prototype); |
} |
-var typedArrayConstructors = [ |
- Float32Array, |
- Float64Array, |
- Int16Array, |
- Int32Array, |
- Int8Array, |
- Uint16Array, |
- Uint32Array, |
- Uint8Array, |
- Uint8ClampedArray, |
-]; |
- |
-for (var t of typedArrayConstructors) { |
- assertPrototypeOf(t, Uint8Array.__proto__); |
- assertPrototypeOf(new t(), t.prototype); |
-} |
- |
var p = new Promise(function() {}); |
assertPrototypeOf(p, Promise.prototype); |