v8/test/webkit/run-json-stringify.js
Camillo Bruni 447c3f3c2a [tests] Increase stack-size limit to make tests pass in debug mode
This fixes webkit/run-json-stringify broken by
https://crrev.com/c/3222765

Failure: https://logs.chromium.org/logs/v8/buildbucket/cr-buildbucket/8832393633085738145/+/u/Bisect_23af060d/Retry_-_default/run-json-stringify


Bug: chromium:1244145
Change-Id: I1235f6db8ab10356476cd1028b20300f86510119
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3242005
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77533}
2021-10-26 07:05:19 +00:00

12 lines
427 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=1000
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");