| Index: test/mjsunit/harmony/typedarrays.js
|
| diff --git a/test/mjsunit/harmony/typedarrays.js b/test/mjsunit/harmony/typedarrays.js
|
| index 8e8ec5748b472a9c47061da7546c713103992b5f..4465aafbba78127110b2191519b1e492f7bf87ad 100644
|
| --- a/test/mjsunit/harmony/typedarrays.js
|
| +++ b/test/mjsunit/harmony/typedarrays.js
|
| @@ -458,12 +458,13 @@ function TestTypedArraySet() {
|
| a[i] = i;
|
| expected.push(i);
|
| }
|
| - a.set(0);
|
| - assertArrayPrefix(expected, a);
|
| a.set({});
|
| assertArrayPrefix(expected, a);
|
| assertThrows(function() { a.set.call({}) }, TypeError);
|
| assertThrows(function() { a.set.call([]) }, TypeError);
|
| +
|
| + assertThrows(function() { a.set(0); }, TypeError);
|
| + assertThrows(function() { a.set(0, 1); }, TypeError);
|
| }
|
|
|
| TestTypedArraySet();
|
|
|