| Index: test/mjsunit/harmony/typedarrays.js
|
| diff --git a/test/mjsunit/harmony/typedarrays.js b/test/mjsunit/harmony/typedarrays.js
|
| index c699f647180fe1ae89257f9ca41257eb86b06a08..e1b0e653d602e8fde9094ab8656d5fc476b39a25 100644
|
| --- a/test/mjsunit/harmony/typedarrays.js
|
| +++ b/test/mjsunit/harmony/typedarrays.js
|
| @@ -563,5 +563,5 @@ TestArbitrary(new DataView(new ArrayBuffer(256)));
|
|
|
|
|
| // Test direct constructor call
|
| -assertTrue(ArrayBuffer() instanceof ArrayBuffer);
|
| -assertTrue(DataView(new ArrayBuffer()) instanceof DataView);
|
| +assertThrows(function() { ArrayBuffer(); }, TypeError);
|
| +assertThrows(function() { DataView(new ArrayBuffer()); }, TypeError);
|
|
|