5a1fbe24ba
BUG=chromium:667603 R=clemensh@chromium.org Review-Url: https://codereview.chromium.org/2519363002 Cr-Commit-Position: refs/heads/master@{#41174}
10 lines
269 B
JavaScript
10 lines
269 B
JavaScript
// Copyright 2016 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.
|
|
|
|
try {
|
|
var v65 = new ArrayBuffer(2147483647);
|
|
} catch(e) {
|
|
assertTrue(e instanceof RangeError);
|
|
}
|