Chromium Code Reviews| Index: test/mjsunit/regress/wasm/regression-694433.js |
| diff --git a/test/mjsunit/regress/wasm/regression-694433.js b/test/mjsunit/regress/wasm/regression-694433.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a260e20790c3fae1d7a915a98611838637480ed3 |
| --- /dev/null |
| +++ b/test/mjsunit/regress/wasm/regression-694433.js |
| @@ -0,0 +1,6 @@ |
| +// Copyright 2017 the V8 project authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +var size = 0x40000000; |
| +assertThrows(() => WebAssembly.validate(new Uint16Array(size)), RangeError); |