Index: test/fuzz-natives/base.js |
diff --git a/test/fuzz-natives/base.js b/test/fuzz-natives/base.js |
index b9f70043fb5d7b6c4429e250a9a38d343180ba38..d1f721d0c0b301eb35926fee39c5937ac58b1014 100644 |
--- a/test/fuzz-natives/base.js |
+++ b/test/fuzz-natives/base.js |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// Flags: --allow-natives-syntax |
+ |
// TODO(jkummerow): There are many ways to improve these tests, e.g.: |
// - more variance in randomized inputs |
// - better time complexity management |
@@ -15,7 +17,9 @@ function makeArguments() { |
result.push(17); |
result.push(-31); |
result.push(new Array(100)); |
- result.push(new Array(100003)); |
+ var a = %NormalizeElements([]); |
+ a.length = 100003; |
+ result.push(a); |
result.push(Number.MIN_VALUE); |
result.push("whoops"); |
result.push("x"); |