Index: test/mjsunit/harmony/reflect-get-prototype-of.js |
diff --git a/test/mjsunit/harmony/reflect-get-prototype-of.js b/test/mjsunit/harmony/reflect-get-prototype-of.js |
index 1ce86347df50d161ffe8ba54cd75e0a076790af8..6f8498b06fdc4020ea7d425c90dec06c35ef4c53 100644 |
--- a/test/mjsunit/harmony/reflect-get-prototype-of.js |
+++ b/test/mjsunit/harmony/reflect-get-prototype-of.js |
@@ -100,7 +100,6 @@ for (var f of errorFunctions) { |
// Builtin constructors. |
var functions = [ |
Array, |
- ArrayBuffer, |
Boolean, |
// DataView, |
Date, |
@@ -135,5 +134,8 @@ for (var f of functions) { |
var p = new Promise(function() {}); |
assertPrototypeOf(p, Promise.prototype); |
-var dv = new DataView(new ArrayBuffer()); |
+var ab = new ArrayBuffer(0); |
+assertPrototypeOf(ab, ArrayBuffer.prototype); |
+ |
+var dv = new DataView(ab); |
assertPrototypeOf(dv, DataView.prototype); |