blob: a260e20790c3fae1d7a915a98611838637480ed3 (
plain)
1
2
3
4
5
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);
|