| Index: test/mjsunit/messages.js
|
| diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
|
| index 30abc197e9b941bc80a038633409af23a1996dcb..6d707ed1c1778c6d2d0be2835cdb8ba9a95907ba 100644
|
| --- a/test/mjsunit/messages.js
|
| +++ b/test/mjsunit/messages.js
|
| @@ -389,6 +389,11 @@ test(function() {
|
|
|
| // === RangeError ===
|
|
|
| +// kInvalidOffset
|
| +test(function() {
|
| + new Uint8Array(new ArrayBuffer(1),2);
|
| +}, "Start offset 2 is outside the bounds of the buffer", RangeError);
|
| +
|
| // kArrayLengthOutOfRange
|
| test(function() {
|
| "use strict";
|
|
|