Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: test/mjsunit/json-stringify-recursive.js

Issue 397073004: Limit stack size when testing stack overflow in JSON.stringify. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/json-stringify-recursive.js
diff --git a/test/mjsunit/json-stringify-recursive.js b/test/mjsunit/json-stringify-recursive.js
index 31aa0027c566b68b72f44ee602d3d16e414104df..d2788a5f0312eb8a2b7428ba3271aa58c6337a2c 100644
--- a/test/mjsunit/json-stringify-recursive.js
+++ b/test/mjsunit/json-stringify-recursive.js
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Flags: --stack-size=100
+
var a = {};
for (i = 0; i < 10000; i++) {
var current = {};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698