Index: test/mjsunit/get-prototype-of.js |
diff --git a/test/mjsunit/get-prototype-of.js b/test/mjsunit/get-prototype-of.js |
index a6acf670d177df615868657bd11f375f2b81d8ea..47edcb0a771123f03dbd275ccf20a3872f2d58bc 100644 |
--- a/test/mjsunit/get-prototype-of.js |
+++ b/test/mjsunit/get-prototype-of.js |
@@ -77,6 +77,7 @@ |
// Builtin constructors. |
var functions = [ |
Array, |
+ ArrayBuffer, |
Boolean, |
// DataView, |
Date, |
@@ -111,8 +112,5 @@ |
var p = new Promise(function() {}); |
assertPrototypeOf(p, Promise.prototype); |
-var ab = new ArrayBuffer(0); |
-assertPrototypeOf(ab, ArrayBuffer.prototype); |
- |
-var dv = new DataView(ab); |
+var dv = new DataView(new ArrayBuffer()); |
assertPrototypeOf(dv, DataView.prototype); |