v8/test/webkit/run-json-stringify.js
Michael Achenbach 53302d2980 [test] Neuter stack-size for tests incompatible with stack-size fuzzing
These tests require a certain stack-size as otherwise range errors show
up in the test expectations, which are compared verbatim.

Bug: v8:12197
Change-Id: I0e420fe6b03965241003ac69fd7d96fa61682c1d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3147592
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76719}
2021-09-08 09:47:51 +00:00

12 lines
426 B
JavaScript

// Copyright 2014 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.
// This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864
var nativeJSON = this.JSON;
this.JSON = null;
d8.file.execute("test/webkit/resources/json2-es5-compat.js");
d8.file.execute("test/webkit/resources/JSON-stringify.js");